Another update from ingydotnet^djgoku

This commit is contained in:
Ingy döt Net 2015-11-18 06:14:39 +00:00
parent 91df62d461
commit 948b86eafa
7604 changed files with 108452 additions and 22726 deletions

View file

@ -1,23 +1,20 @@
/*REXX program to test if a variable is defined. */
/*REXX program test if a (REXX) variable is defined or not defined. */
tlaloc = "rain god of the Aztecs." /*assign a value to the Aztec rain god.*/
/*check if the rain god is defined. */
y= 'tlaloc'
if symbol(y)=="VAR" then say y ' is defined.'
else say y "isn't defined."
tlaloc = "rain god of the Aztecs."
/*check if the fire god is defined. */
y= 'xiuhtecuhtli' /*assign a value to the Aztec file god.*/
if symbol(y)=="VAR" then say y ' is defined.'
else say y "isn't defined."
/*check if the rain god is defined.*/
y='tlaloc'
if symbol(y)=="VAR" then say y 'is defined.'
else say y "ain't defined."
/*check if the fire god is defined.*/
y='xiuhtecuhtli'
if symbol(y)=="VAR" then say y 'is defined.'
else say y "ain't defined."
drop tlaloc /*un-define the TLALOC variable. */
/*check if the rain god is defined.*/
y='tlaloc'
if symbol(y)=="VAR" then say y 'is defined.'
else say y "ain't defined."
drop tlaloc /*un─define the TLALOC REXX variable.*/
/*check if the rain god is defined. */
y= 'tlaloc'
if symbol(y)=="VAR" then say y ' is defined.'
else say y "isn't defined."
/*stick a fork in it, we're all done. */