Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Repeat/QBasic/repeat.basic
Normal file
15
Task/Repeat/QBasic/repeat.basic
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
DECLARE SUB rep (func AS STRING, c AS INTEGER)
|
||||
DECLARE SUB proc ()
|
||||
|
||||
CALL rep("proc", 5)
|
||||
PRINT "Loop Ended"
|
||||
|
||||
SUB proc
|
||||
PRINT " Inside loop"
|
||||
END SUB
|
||||
|
||||
SUB rep (func AS STRING, c AS INTEGER)
|
||||
FOR i = 1 TO c
|
||||
proc
|
||||
NEXT
|
||||
END SUB
|
||||
Loading…
Add table
Add a link
Reference in a new issue