I want to be able to use command line peramitors to have my program run a certain function when it is started (different from how it normally runs)
I want to be able to use: MyApp.exe -i
and have it run differently then if I used just: MyApp.exe
Is there a way that I can code into the stack script to look for this -i (or however I can have such a peramitor) on open stack?
Command line Peramitors
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Hi keyless,
That would be something like:
Best,
Mark
That would be something like:
Code: Select all
on preOpenStack
if $1 is "-i" then
-- behave differently
else
-- behave normally
end if
end preOpenStack
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode