Jump to content

Execute HQ9+: Difference between revisions

m
→‎{{header|NS-HUBASIC}}: Further optimizations to the code have been made.
m (→‎{{header|NS-HUBASIC}}: Line 170 has been modified to fit in with the optimizations from before.)
m (→‎{{header|NS-HUBASIC}}: Further optimizations to the code have been made.)
Line 1,334:
60 FOR I=1 TO LEN(I$)
70 C$=MID$(J$,I,1)
80 IF C$="H" THEN PRINT "HELLO, WORLD!"
90 IF C$="Q" THEN PRINT I$
100 A=A+(C$="+")
110 IF C$<>"9" GOTO 190
120 FOR B=99 TO 1 STEP -1
130 PRINT B B$ W$
441

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.