Metview's documentation is now on readthedocs!

 

The nil value defined in the Metview Macro language can be used in the ways described below - an example of the use of nil for initialisation of lists can be found in Lists.

 

any (nil & any)

any (any & nil)

The value nil can be concatenated to any other value. The result is the original value.

 

number (nil = any)

number (any = nil)

number (nil <> any)

number (any <> nil)

Any value can be compared with nil . Only nil is equal to nil . Returns a number, either 0 (false) or 1 (true).

 

number count (nil)

Returns 0.