add while example

java11
Sandy Brownlee 2 years ago
parent 3de9d5e0cc
commit a026ec3840
  1. 11
      programs/while.tri

@ -0,0 +1,11 @@
let
var a : Integer
in
begin
a := 0;
while a < 5 do
begin
put('a');
a := a + 1;
end
end