Jump to content

Null object: Difference between revisions

(added Fantom example)
Line 518:
 
=={{header|PowerShell}}==
In PowerShell the automatic variable <code>$null</code> represents a null value. Comparisons are not left/right symmetrical which means placing <code>$null</code> on the left side greatly assists when comparing to an array.
<lang powershell>if ($objectnull -eq $nullobject) {
...
}</lang>
 
=={{header|PureBasic}}==
All variables that has not yet been given any other value will be initiated to #Null
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.