next up previous contents index
Next: Exceptions Up: The OS Interface: Preliminaries Previous: The OS Interface: Preliminaries

OS and Modula-2+

    Most Topaz applications are written in the Modula-2+ programming language. (It is also possible to use Tinylisp.) Thus there are Modula-2+ definition modules corresponding to the OS and OSFriends interfaces described by this manual. In fact, the source files OS.def and OSFriends.def are mechanically derived from the same Scribe source file from which this manual is compiled.

In the hardcopy version of this manual, the OS interface is typeset in a fixed-pitch font, interspersed with prose in this font. Other sections of Modula-2+ code (usage examples and semantic equivalents) are typeset boxed and indented in the same fixed-pitch font used for the interface. (The same conventions are used for the OSFriends interface in Appendix A.)

SAFE DEFINITION MODULE OS;

IMPORT
  Base, NubTypes, Rd, System, Text, Time, UID;

For a summary of the interfaces imported by OS, see Appendix E, page [*].



Paul McJones
8/28/1997