RosettaCodeData/Task/Repeat/True-BASIC/repeat.basic

14 lines
163 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
SUB proc
PRINT " Inside loop"
END SUB
SUB rep (func$, c)
FOR i = 1 to c
CALL proc
NEXT i
END SUB
CALL rep ("proc", 5)
PRINT "Loop Ended"
END