RosettaCodeData/Task/Repeat/Yabasic/repeat.basic

12 lines
181 B
Plaintext

sub myFunc ()
print "Sure looks like a function in here..."
end sub
sub rep (func$, times)
for count = 1 to times
execute(func$)
next
end sub
rep("myFunc", 4)