< 10 ? "Doing basic stuff" : goto 10

~tskaalgard

10 REP = 0
20 PRINT "cool "
30 REP = REP + 1
40 IF REP < 5 THEN
50 GOTO 20
60 ELSE PRINT "!"
70 END

Write a reply

Replies

~tskaalgard wrote:

(been a while since I've messed with period-appropriate BASIC, it is possible some FreeBASIC ended up in this)