Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2534

8-bit acorn software: other • Re: Mini-challenge: nested FOR with only one NEXT

$
0
0
Here's what I came up with earlier, but accidentality deleted it before posting it :oops: #-o

Code:

FOR A=1 TO 4FOR B=1 TO 4PRINT B,AIF B=4 AND A<4 THEN A=A+1 : B=0NEXTPRINT "End"
link

Not sure if that counts?

Mark

Statistics: Posted by 1024MAK — Sun Dec 15, 2024 6:04 pm



Viewing all articles
Browse latest Browse all 2534

Trending Articles