add while example
This commit is contained in:
parent
3de9d5e0cc
commit
a026ec3840
11
programs/while.tri
Normal file
11
programs/while.tri
Normal file
@ -0,0 +1,11 @@
|
||||
let
|
||||
var a : Integer
|
||||
in
|
||||
begin
|
||||
a := 0;
|
||||
while a < 5 do
|
||||
begin
|
||||
put('a');
|
||||
a := a + 1;
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user