// Script showing how to get standard arguments // Arguments: // (Arguments will be printed!) // // Author: LoopToGo // // Description : Example on how to use get arguments and print them in a single line and different lines // Can be called from testArgument.txt or directly (with arguments) print testArgumentReceiver : $nbArgs arguments variable allVar "Args:" // Important! It must have at least one char so the first concatenation works! for var 1 $nbArgs variable argName arg & $var variable arg $$argName variable allVar $allVar & " " & $arg endFor print $allVar // Other way to print arguments print // Skip a line for var 1 $nbArgs variable argName arg & $var print $argName : $$argName // Need 2 $. The firstone will create a variable name (arg1, arg2, etc.). The second will give the value or the arguments. endFor