Symbols are special characters that are used in the Pascal token and interpret special meanings.
+
: Addition-
: Subtraction*
: Multiplication/
: Division==
: Comparison>
: Greater than<
: Less than>=
: Greater than or equal to<=
: Less than or equal to<>
: Not equal=
: Equal;
: Statement separationAND
: Conjunction operatorOR
: Disjunction operatorIF
: Executes boolean condition if trueTHEN
: Executes the statements in IF
if the condition is trueELSE
: Executes the statements out of IF
if the condition is falseCASE
: Starts to execute the statements that involve caseProgram tokenTest
begin
Writeln (1*2)
Writeln (2/2)
end;
Program tokenTest2
begin
Writeln ('2=2`)
end;