Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
17
Task/Repeat/FreeBASIC/repeat.basic
Normal file
17
Task/Repeat/FreeBASIC/repeat.basic
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
' FB 1.05.0 Win64
|
||||
|
||||
Sub proc()
|
||||
Print " proc called"
|
||||
End Sub
|
||||
|
||||
Sub repeat(s As Sub, n As UInteger)
|
||||
For i As Integer = 1 To n
|
||||
Print Using "##"; i;
|
||||
s()
|
||||
Next
|
||||
End Sub
|
||||
|
||||
repeat(@proc, 5)
|
||||
Print
|
||||
Print "Press any key to quit"
|
||||
Sleep
|
||||
Loading…
Add table
Add a link
Reference in a new issue