Anonymous user
Null object: Difference between revisions
Add Nimrod
(added swift) |
(Add Nimrod) |
||
Line 700:
Really, it's "null"!
</pre>
=={{header|Nimrod}}==
There is a <code>nil</code> value in Nimrod, which is the same as a 0. It can be explicitly forbidden as a value:
<lang nimrod>var s: string = nil
var ns: string not nil = nil # Compile time error</lang>
=={{header|Objective-C}}==
|