MAINSAIL Language Manual, Appendix I

previous   next   top   contents   index   framed top   this page unframed


I. Synonyms

Table I–1 shows synonymous forms supported by the MAINSAIL compiler. In the case of curly brackets, the compiler does not require that curly brackets be matched only by curly brackets and square brackets only by square brackets; e.g., if a is a one-dimensional ARRAY and i an INTEGER, a{i] and a[i} are legal and equivalent.

Table I–1. MAINSAIL Synonyms
Usual Form Synonymous Form
:= _
^ **
NEQ <>
LEQ <=
GEQ >=
SHL <<
SHR >>
[ {
] }
DOB DO BEGIN
EL ELSE
EF ELSE IF
EB ELSE BEGIN
THENB THEN BEGIN
OFB OF BEGIN
$HANDLEB $HANDLE BEGIN
$WITHB $WITH BEGIN


previous   next   top   contents   index   framed top   this page unframed

MAINSAIL Language Manual, Appendix I