Put a byte array into a slice of a primitive item associated with a specified
identifier NBS_PUT_VALUE
’s modified count. ’s modified count again. The item and noticeboard modified counts will not be incremented if INCREMENT_MODIFY is FALSE.
Note that this routine only alters the specified number of bytes starting at the specified offset — all bytes are initially zero and bytes above and below those that are being altered will not be affected. The actual size of the item will be adjusted upwards if the new data extends past the previous end of the data but the size of the item cannot be decreased by this routine. To alter the size of an item, use the NBS_PUT_SIZE routine.
NBS__NILID | NIL ID |
NBS__NOTPRIMITIVE | Item is not primitive |
NBS__NOTOWNER | Caller does not own the noticeboard |
NBS__BADOFFSET | Negative offset specified |
NBS__TOOMANYBYTES | Not room to put all the data |