mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-11-17 07:45:31 +00:00
19 lines
167 B
ObjectPascal
19 lines
167 B
ObjectPascal
|
|
VAR x, squ;
|
|
|
|
PROCEDURE square;
|
|
BEGIN
|
|
squ:= x * x
|
|
END;
|
|
|
|
BEGIN
|
|
x := 1;
|
|
WHILE x <= 10 DO
|
|
BEGIN
|
|
CALL square;
|
|
! squ;
|
|
x := x + 1
|
|
END
|
|
END.
|
|
|