Anonymous user
Null object: Difference between revisions
→{{header|PowerShell}}
(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 ($
...
}</lang>
=={{header|PureBasic}}==
All variables that has not yet been given any other value will be initiated to #Null
|