command line parameter in a variable
Trevor DeVore
lists at mangomultimedia.com
Sat Jun 9 17:18:00 EDT 2007
On Jun 9, 2007, at 1:30 PM, Scott Morrow wrote:
> I'm trying to write a loop for multiple command line parameters
> such as
>
> $1
> $2
> $3
> < etc >
>
> How can I do this using a variable for the number such as
>
> $i
Use "value":
repeat with i = 1 to 3
put value("$" & i) into theValue
-- Do something with the value
end repeat
--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com - www.screensteps.com
trevor at bluemangolearning.com
More information about the use-livecode
mailing list