Jump to content

Null object: Difference between revisions

m
→‎{{header|REXX}}: added whitespace to the REXX section comments, made other cosmetic changes (for highlighting).
(Added Rust.)
m (→‎{{header|REXX}}: added whitespace to the REXX section comments, made other cosmetic changes (for highlighting).)
Line 1,107:
=={{header|REXX}}==
REXX can have variables with a null value.
<br>With the &nbsp; '''symbol''' &nbsp; built-in function, it can be determined if a variable is defined (or not).
<br>The &nbsp; '''length''' &nbsp; built-in function can be used to see what the length of the value of a defined variable.
<br>A variable with a &nbsp; '''null''' &nbsp; value has a length of &nbsp; '''0''' &nbsp; (zero).
<br><br>The &nbsp; '''DROPdrop''' &nbsp; statement can be used to "un-defineundefine" a REXX variable.
<lang rexx>/*REXX program demonstrates null strings, and also undefined values. */
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.