Stony Brook Extensions to ISO Modula-2

This information is documented in the Language Reference helpfile.

The Stony Brook compiler shares various extensions to the Modula-2language with the p1 compiler available for the Macintosh.

From the SYSTEM module the following types are portable acrossthe two compilers.

CARD8, CARD16, CARD32

INT8, INT16, INT32

LONGINT (Note: The Stony Brook long integer type is larger than thep1 long integer type)

SET8, SET16, SET32,

WORD8, WORD16, WORD32

CLONE

OFFS

The extension to the FROM import statement is compatible.

FROM ModuleName IMPORT *;

Dynamic array extensions are compatible.

p1 compiler conditional compilationsyntax is accepted, including the DEFINE and ASSIGN directives for version tags.