mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-23 04:15:31 +00:00
19 lines
168 B
ObjectPascal
19 lines
168 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.
|
|
|