next up previous 372
Next: NBS_GET_PARENT - Get the identifier of an item's parent structure
Up: Description of Individual NBS Routines
Previous: NBS_GET_SIZE - Get the maximum and actual sizes of a primitive item associated with the specified identifier


NBS_GET_PRIMITIVE - Determine whether or not an item is primitive

Description:
Check that the ID is not NIL.
Return FALSE (0) if the item is a structure and TRUE (1) if it is primitive.

Invocation:
(Int) = NBS_GET_PRIMITIVE (ID,PRIMITIVE,STATUS)

Arguments:

ID = INTEGER (Given)
Identifier of the item concerned.
PRIMITIVE = INTEGER (Returned)
Whether primitive (1) or structured (0).
STATUS = INTEGER (Given and returned)
The global status. Possible return values are,

NBS__NILID   		 NIL ID 




next up previous 372
Next: NBS_GET_PARENT - Get the identifier of an item's parent structure
Up: Description of Individual NBS Routines
Previous: NBS_GET_SIZE - Get the maximum and actual sizes of a primitive item associated with the specified identifier

NBS The Noticeboard System
Starlink User Note 77
D.J. Allan
11 September 1995
E-mail:ussc@star.rl.ac.uk