https://script.quakenet.org/wiki/index.php?title=$null&feed=atom&action=history$null - Revision history2024-03-28T15:22:14ZRevision history for this page on the wikiMediaWiki 1.27.2https://script.quakenet.org/wiki/index.php?title=$null&diff=4288&oldid=prevZyberdog at 13:21, 10 November 20052005-11-10T13:21:06Z<p></p>
<p><b>New page</b></p><div>Returns absolutely nothing. Used to compare values in [[If-Then-Else]] checks.<br />
<br />
$null<br />
<br />
* This identifier has no options or parameters.<br />
<br />
== Example ==<br />
The first example shows the common use, if any, of $null.<br />
<br />
if (%age == $null) { [[echo]] -a the variable does not exist }<br />
elseif (%age != $null) { echo -a the variable does exist! }<br />
<br />
The same thing can be done with simple checking, as shown below.<br />
<br />
if (!%age) { echo -a the variable does not exist as it returns nothing when called }<br />
else { echo -a it does not not exist, hence it must exist, woho. }<br />
<br />
[[Category:Other Identifiers]]</div>Zyberdog