On 24/01/2014 21:16, Mark Schonewille wrote: > $0 is a special variable containing the app path and $1 contains the > document path.
There are in fact a whole host of these special variables: $0, $1, $2, ... . As Mark said, the first of these is the path to the app. The later ones are the arguments to the app, e.g.: your.app --foo bar --baz would give you: $0 = your.app $1 = --foo $2 = bar $3 = --baz To find out how many arguments you have, there is the special variable $# Regards, Fraser _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode