VAR x, squ;
PROCEDURE square;
BEGIN
squ := x * x
END;
x := 1;
WHILE x <= 10 DO
CALL square;
! squ;
x := x + 1
END
END.