[Contents]
[Prev] [Next] [Limbo Basics] [Limbo Programming] [Language Definition]

The nil constant

The constant nil denotes a reference to nothing. It can be used where an object of a reference type is expected; otherwise uninitialized values of reference type start off with this value. It can be assigned to reference objects, and reference types can be tested for equality with it. (The keyword has other uses as well.)



[Contents]
[Prev] [Next] [Limbo Basics] [Limbo Programming] [Language Definition]

Copyright © 1998, Lucent Technologies, Inc. All rights reserved.