8 lines
382 B
Rexx
8 lines
382 B
Rexx
/*REXX program demonstrates the use of dynamic variable names & setting a val.*/
|
|
parse arg newVar newValue
|
|
say 'Arguments as they were entered via the command line: ' newVar newValue
|
|
say
|
|
call value newVar, newValue
|
|
say 'The newly assigned value (as per the VALUE bif)------' newVar value(newVar)
|
|
/*stick a fork in it, we're all done. */
|