Programming in Pascal language

The most important commands from Pascal programming language in one place, a unique comparison and each command-operator is shown using a piece of program. Statements-operators of these sample programs are clickable, so with a simple click we have more information available.

Programming language Pascal:


Examples - Pascal

Pascal
i:=0;
while i<10 do inc(i);
x :=0;
while i<20 do
begin
 i:= i+2;
 if i=16 then
 begin
    continue
 end;
 inc(x); 
end;
Pascal
i shl 4
$12AB shl j
128 shl (j shl(3 + i))

Other pieces of example codes:
Pascal
if i - 10 >0 then i := i-5;
(10 >a or a<5)
$AF
z := longint((x * y));
(i and 4)
5 * 5
Languages: en hu cz sk