2.13 Chapter Summary

This chapter covered these topics:

It included discussion of the following Modula-2 built-ins:

Reserved Words Standard Identifiers
BEGIN ... END CARDINAL
CONST CHAR
DIV FLOAT
DO INT
FROM ... IMPORT INTEGER
MOD LONGREAL
MODULE LFLOAT
REM REAL
WHILE TRUNC
VAR VAL
CARD*
LONGCARD*
LONGINT*

* indicates a non-standard word that may be present in some versions.

Symbols Imports
From STextIO (InOut): ReadChar (Read)
+ WriteChar (Write)
- WriteLn
* WriteString
= SkipLine
/ From SWholeIO (InOut): ReadCard
E WriteCard
:= ReadInt
WriteInt
From SRealIO: ReadReal
(RealInOut) WriteReal
WriteFloat (ISO only)
WriteFixed (ISO only)
indicates the usual name in non ISO compliant versions using InOut.
Contents