SUB proc
PRINT " Inside loop"
END SUB
SUB rep (func$, c)
FOR i = 1 to c
CALL proc
NEXT i
CALL rep ("proc", 5)
PRINT "Loop Ended"
END