Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,10 +1,17 @@
|
|||
PROCEDURE DivBy2*();
|
||||
VAR i: INTEGER;
|
||||
MODULE WhileExample;
|
||||
IMPORT Out;
|
||||
|
||||
PROCEDURE DivBy2*();
|
||||
VAR i: INTEGER;
|
||||
BEGIN
|
||||
i := 1024;
|
||||
WHILE i > 0 DO
|
||||
Out.Int(i,0);
|
||||
Out.Ln;
|
||||
i := i DIV 2;
|
||||
END;
|
||||
END DivBy2;
|
||||
|
||||
BEGIN
|
||||
i := 1024;
|
||||
WHILE i > 0 DO
|
||||
Out.Int(i,0);
|
||||
Out.Ln;
|
||||
i := i DIV 2;
|
||||
END;
|
||||
END DivBy2;
|
||||
DivBy2
|
||||
END WhileExample.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue