The name of each construct should not already be in use (irrespective of the type of the construct); the only exception to this is for an interface, which shares the name of the specification it interfaces.
There is a restriction on the length of the name of a construct: the maximum length is 20 characters (12 for base constructs) excluding the extension.
This option provides a sub-menu of twelve options; the following seven:
The remaining five:
If the construct parses, it will be committed to the CFG directory; if it does not parse, an appropriate parsing error message is given in the Display Area and the construct is opened for editing.
After successful introduction, the construct will appear in red the Constructs Area of the appropriate Environment Window(s).
In the case of a renamable SLIB machine, the user will first be prompted for the rename prefix (the length of the renamed construct should not exceed 20 characters).
Since library machines, like generated machines, are guaranteed to be syntactically correct and well-typed, related analysed forms and type information files are also copied to the ANL and TYP directories. The status of these constructs is reflected in the various B-Toolkit environments by the command buttons that are active.
Further, when a library construct is introduced, its matching code (renamed, if necessary) is also compiled and copied to the CDE/C directory.
The mathematical content of these library machines may NOT be changed and committed to the system (i.e. they are `read-only' in that sense). It is, however, possible to commit annotation changes.