Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
15
Task/Repeat/Seed7/repeat.seed7
Normal file
15
Task/Repeat/Seed7/repeat.seed7
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
$ include "seed7_05.s7i";
|
||||
|
||||
const proc: myRepeat (in integer: times, in proc: aProcedure) is func
|
||||
local
|
||||
var integer: n is 0;
|
||||
begin
|
||||
for n range 1 to times do
|
||||
aProcedure;
|
||||
end for;
|
||||
end func;
|
||||
|
||||
const proc: main is func
|
||||
begin
|
||||
myRepeat(3, writeln("Hello!"));
|
||||
end func;
|
||||
Loading…
Add table
Add a link
Reference in a new issue