RosettaCodeData/Task/Repeat/OxygenBasic/repeat.basic

19 lines
191 B
Text
Raw Permalink Normal View History

2026-04-30 12:34:36 -04:00
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