[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
var Null: Void absolute 0; |
`Null' is a predefined variable at address `nil'. `Null' can be passed as a "void" argument to a procedure, function or operator expecting a "var" parameter. Note: Make sure they can handle this case, otherwise this is likely to cause an exception and the program will be terminated. Since `Null' is an L-value, it can be taken as "nil-reference".
`Null' is a Borland Delphi extension.
program NullDemo; type PString = ^String; var Com1: String (25) = 'This is an amazing number'; Com2: String (25) = 'This is a boring number'; |
section 9.172 nil