next up previous 372
Next: NBS_GET_PRIMITIVE - Determine whether or not an item is primitive
Up: Description of Individual NBS Routines
Previous: NBS_GET_TYPE - Get the type of an item associated with the specified identifier


NBS_GET_SIZE - Get the maximum and actual sizes of a primitive item associated with the specified identifier

Description:
Check that the ID is not NIL and that it pertains to a primitive item.
Return the maximum and actual sizes of the item's noticeboard data.

Invocation:
(Int) = NBS_GET_SIZE (ID,MAXBYTES,ACTBYTES,STATUS)

Arguments:

ID = INTEGER (Given)
Identifier of the item for whose size is to be got.
MAXBYTES = INTEGER (Returned)
Maximum size in bytes.
ACTBYTES = INTEGER (Returned)
Actual size in bytes.
STATUS = INTEGER (Given and returned)
The global status. Possible return values are,

NBS__NILID   		 NIL ID 

NBS__NOPRIMITIVE Item is not primitive

Prior Requirements
NBS_FIND_NOTICEBOARD must have been called.



next up previous 372
Next: NBS_GET_PRIMITIVE - Determine whether or not an item is primitive
Up: Description of Individual NBS Routines
Previous: NBS_GET_TYPE - Get the type of an 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