Reserved words
Reserved words (also called keywords) are symbols that have pre-defined and fixed meanings to
the Irie Pascal compiler. The case of reserved words is usually not significant, so although
the reserved words listed below are all in lowercase, by default the compiler will recognize
reserved words regardless of the case of the letters. NOTE: There is a compiler
option (-p) that will make reserved words and identifiers case-sensitive.
The reserved words recognized by the compiler are listed below (along with links to information
describing how the reserved words are used):
NOTE: Reserved words added because of
extensions to Standard Pascal are listed in
red.
- and
and (boolean operator),
and (bitwise operator)
- and_then
and_then operator
- array
array types
- begin
compound statement
- case
record types,
case statement
- class
object types
- const
constant definitions
- div
div operator
- do
while statement,
for statement,
with statement
- downto
for statement
- else
record types,
case statement,
if statement
- end
record types,
compound statement,
case statement
- file
file types
- for
for statement
- function
functions and procedures
- goto
goto statement
- if
if statement
- in
in operator
- label
labels
- list
list types
- mod
mod operator
- nil
nil constant,
pointer types
- not
not (boolean operator),
not (bitwise operator)
- object
object types
- of
array types,
file types,
list types,
set types,
record types,
case statement
- or
or (boolean operator),
or (bitwise operator)
- or_else
or_else operator
- otherwise
record types,
case statement
- packed
array types,
file types,
list types,
set types,
record types
- procedure
functions and procedures
- program
Irie Pascal grammar
- record
record types
- repeat
repeat statement
- set
set types
- shl
shl operator
- shr
shr operator
- then
if statement
- to
for statement
- type
type definitions
- until
repeat statement
- var
variable declarations,
function declarations,
procedure declarations
- while
while statement
- with
with statement
- xor
xor (boolean operator),
xor (bitwise operator)
NOTE: Although reserved words look like identifiers, you can not use reserved words
as identifiers.