Undefined values: Difference between revisions

m
→‎{{header|REXX}}: removed first and last blank lines. -- ~~~~
m (→‎{{header|REXX}}: removed first and last blank lines. -- ~~~~)
Line 866:
 
=={{header|REXX}}==
<lang rexx>/*REXX program to test if a variable is defined. */
<lang rexx>
/*REXX program to test if a variable is defined. */
 
tlaloc = "rain god of the Aztecs."
Line 889 ⟶ 888:
y='tlaloc'
if symbol(y)=="VAR" then say y 'is defined.'
else say y "ain't defined."</lang>
'''output'''
</lang>
<pre style="height:30ex;overflow:scroll">
Output:
<pre style="height:30ex;overflow:scroll">
tlaloc is defined.
xiuhtecuhtli ain't defined.