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 items 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.