This commit is contained in:
Ingy döt Net 2013-04-10 21:29:02 -07:00
parent 764da6cbbb
commit db842d013d
19005 changed files with 197040 additions and 7 deletions

View file

@ -0,0 +1,5 @@
/*output from parse version (almost all REXX versions) */
/* theREXXinterpreterName level mm Mon yyyy */
parse version . level .
if level<4 then exit

View file

@ -0,0 +1,7 @@
parse version x 1 whatLang level mm mon yyyy .
if level<4 then do
say
say 'version' level "is too old!"
say x /*this displays everything.*/
exit /*or maybe: EXIT 13 */
end

View file

@ -0,0 +1 @@
if symbol('bloop')=='VAR' then say 'the "bloop" variable exists.'

View file

@ -0,0 +1,2 @@
if symbol('bloop')=='VAR' then say 'the "bloop" variable exists.'
else say 'the "bloop" variable doesn''t exist.'

View file

@ -0,0 +1,3 @@
bloop=47
if symbol('bloop')=='VAR' then say 'the "bloop" variable exists.'
else say 'the "bloop" variable doesn''t exist.'

View file

@ -0,0 +1,2 @@
bloop=47
g=abs(bloop)

View file

@ -0,0 +1,9 @@
if testxyz() then say 'function XYZ not found.'
else say 'function XYZ was found.'
exit
testxyz: signal on syntax
y='XYZ'(123)
return 0
syntax: return 1