RosettaCodeData/Task/Loops-For-with-a-specified-step/XBasic/loops-for-with-a-specified-step.basic

11 lines
151 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
PROGRAM "forby"
DECLARE FUNCTION Entry()
FUNCTION Entry()
FOR i% = 0 TO 100 STEP 2
PRINT FORMAT$("###", i%)
NEXT i%
END FUNCTION
END PROGRAM