/usr/share/doc/regina-rexx/examples/block.rexx is in regina-rexx 3.5-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | /* This program is block structured ! */
/* Author unknown - ported to REXX from ND Fortran by */
/* Anders Christensen -- anders@solan.unit.no */
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;exit
|