Null object: Difference between revisions

Nimrod -> Nim
(Nimrod -> Nim)
Line 722:
</pre>
 
=={{header|NimrodNim}}==
There is a <code>nil</code> value in NimrodNim, which is the same as a 0. It can be explicitly forbidden as a value:
<lang nimrodnim>var s: string = nil
 
var ns: string not nil = nil # Compile time error</lang>
Anonymous user