HELP DATALENGTH                  updated 13 May 1985, Jonathan Laventhol
                                           Updated Aaron Sloman Jan 1991

DATALENGTH(structure) -> integer
This procedure gives the length of a structure, ie the number of elements in
it. Given a PAIR, DATALENGTH returns 2. To find the length of a list, use
*LENGTH, or *LISTLENGTH

The DATALENGTH of a property is the number of items in it (equal to
length(datalist)).  See HELP *NEWPROPERTY *NEWANYPROPERTY *DATALIST.

The DATALENGTH of a closure is the number of frozen values in the closure.
See HELP *CLOSURES.

The DATALENGTH of a record-type key (e.g. pair_key, ref_key) is the
number of fields in each instance of the key. See REF * KEYS. For other
types of keys DATALENGTH gives an error.

See REF * DATA

--- C.all//help/datalength
--- Copyright University of Sussex 1991. All rights reserved. ----------
