all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
10
Task/Test-a-function/REXX/test-a-function-1.rexx
Normal file
10
Task/Test-a-function/REXX/test-a-function-1.rexx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* This REXX uses a lot of REXX keywords as variables. */
|
||||
|
||||
signal=(interpret=value);value=(interpret<parse);do upper=value to value
|
||||
end;exit=upper*upper*upper*upper-value-upper;say=' ';return=say say say;
|
||||
with.=signal;do then=value to exit;pull='';do otherwise=upper to then-,
|
||||
value;select=otherwise-value;if.otherwise=with.otherwise+with.select;end
|
||||
if.value=value;if.then=value;do otherwise=value to exit-then;pull=pull,
|
||||
say''say;end;do otherwise=value to then;pull=pull center(if.otherwise,,
|
||||
length(return));end;say pull;do otherwise=value to exit;with.otherwise=,
|
||||
if.otherwise;end;end
|
||||
Loading…
Add table
Add a link
Reference in a new issue