Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
18
Task/Repeat/OxygenBasic/repeat.basic
Normal file
18
Task/Repeat/OxygenBasic/repeat.basic
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
uses console
|
||||
|
||||
sub proc
|
||||
printl " Inside loop"
|
||||
end sub
|
||||
|
||||
macro rep (func, n)
|
||||
int i
|
||||
for i = 1 to n
|
||||
func()
|
||||
next
|
||||
end macro
|
||||
|
||||
rep (proc, 5)
|
||||
printl "Loop Ended"
|
||||
|
||||
printl cr "Enter ..."
|
||||
waitkey
|
||||
Loading…
Add table
Add a link
Reference in a new issue