2015-11-18 06:14:39 +00:00
|
|
|
/*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
|
2013-04-10 16:57:12 -07:00
|
|
|
say
|
2015-11-18 06:14:39 +00:00
|
|
|
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. */
|