It is possible to save and restore the noticeboard data as well as just the definition by using a different option when ending the noticeboard definition.
End the definition, writing it and the noticeboard data to file AUTOFIB.NBD.
NBS_END_DEFINITION (`AUTOFIB', ! Name of noticeboard file
`NOTICEBOARD_SAVE', ! Write noticeboard to disc
STATUS)
Restore the noticeboard definition plus data from a file and create the noticeboard.
NBS_RESTORE_NOTICEBOARD (`AUTOFIB', ! Noticeboard name
`AUTOFIB', ! Name of noticeboard file
STATUS)
Map (find) the noticeboard.
NBS_FIND_NOTICEBOARD (`AUTOFIB', ! Noticeboard name
TOPID,STATUS) ! Top-level ID
Get the ID for an item we want to write to and put its value.
NBS_FIND_ITEM (TOPID,`CURRENT_CONFIG',CONID,STATUS)
NBS_PUT_CVALUE (CONID,0,STRING,STATUS)
Save the noticeboard to disc.
NBS_SAVE_NOTICEBOARD (TOPID, ! ID of any item on noticeboard
STATUS)
NBS The Noticeboard System