Incoming command line parameters?

Garrett Hylltun garrett at paraboliclogic.com
Wed Feb 8 18:58:37 EST 2006


Thank you Ken,
-Garrett

On Feb 8, 2006, at 3:35 PM, Ken Ray wrote:

> On 2/8/06 4:53 PM, "Garrett Hylltun" <garrett at paraboliclogic.com>  
> wrote:
>
>> Greetings,
>>
>> How to grab command line parameters that are sent to my rev app when
>> it's launched?
>
> They come in as $1, $2, etc. $0 is the path of the application itself:
>
> on openStack
>   put $0 into theAppPath
>   put $1 into theDocToOpen
>   answer "The doc to open is: " & theDocToOpen
> end openStack
>
> HTH,
>
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: kray at sonsothunder.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list