I will answer my question myself. ;)

value("$"&i) does return the content of the variable.

Matthias

Am 24.04.2013 um 01:56 schrieb Matthias Rebbe 
<[email protected]>:

> Hi,
> 
> maybe it´s just to late here and i just need some sleep. 
> 
> But for whatever reason i am having problems with the $ command line argument 
> variable under windows.
> 
> In my script i have to check the number of arguments with $#, because the 
> number of arguments may vary.
> 
> I then want to process the arguments in a repeat loop.
> repeat with i = 1 to $#
> -- do something with $i
> end repeat
> 
> But how can i use the values of that command line arguments.
> I tried already
> $i       returns nothing
> value($i) returns nothing
> value($&i) returns only the number
> 
> I am pretty sure in a project long time ago i was able to get the values.
> 
> What am i doing wrong?
> 
> Regards,
> 
> Matthias
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to