next up previous 372
Next: WORDS Generate Tree-structured Noticeboard
Up: Demonstration Programs
Previous: TIME Time Noticeboard Operations

EXERCISE -- Exercise Noticeboard Routines

EXERCISE calls all NBS routines and triggers all reasonable errors. It produces a report in EXERCISE.LIS in which any unexpected results have an asterisk in the first column. The total error count is reported at the bottom and this should always be zero. If it is non-zero there could be a resource-related problem (or even a bug in the NBS routines). For example:

    Noticeboard system exercise program at Thu Mar 31 10:28:55 1988
    ---------------------------------------------------------------

    NBS_TUNE
    --------
     nbs_tune max_defn_size: ok
     nbs_tune of doesnt_exist: illegal parameter / item name

    NBS_DEFINE_* errors
    -------------------
     nbs_define_structure: not currently defining noticeboard contents
     .
     .

    NBS_PUT
    -------
     nbs_get_primitive: NIL item ID
     nbs_get_parent: NIL item ID
     nbs_get_children: NIL item ID
     nbs_get_children: item is primitive
     nbs_get_info: NIL item ID
     nbs_get_info: illegal parameter / item name

    Error count = 0
    ----------------



next up previous 372
Next: WORDS Generate Tree-structured Noticeboard
Up: Demonstration Programs
Previous: TIME Time Noticeboard Operations

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