>
symbol should
be =
.
INT max int = 2 147 483 647
"." "," "8"
CHAR question mark = "?"
5.
should be 5.0
. Either the semicolon
should be replaced by a comma, or z
should be preceded by
REAL
or INT
.
REAL light year = 9.454 26 e15
CONTEXT
VOID
USE
standard
preceding the BEGIN
.
20
at the start of the line.
The second displays +20 +48930767
on one line.
PROGRAM ex1 14 CONTEXT VOID USE standard BEGIN CHAR s="S", i="i", a="a", n="n"; CO Letters of my first name CO print(s); print(i); print(a); print(n) END FINISHwhich will display
Sian
on the screen.
1996
"e"
0.142857
INT fifty five = 55
REAL three times two point seven = 8.1
CHAR colon=":"
x
will be elaborated before the declaration of y
. The
declarations should be written
REAL x = 1.234; REAL y = x
0
denotes an integer with mode INT
,
0.0
denotes a real number with mode REAL
.
PROGRAM ex1 20 CONTEXT VOID USE standard BEGIN print(0.5); print(blank); print("G"); print(1); print(blank);print(":"); print(34 000 000) END FINISH
Sian Mountbatten 2012-01-19