[Coco] GOTO and code maintainability

Rogelio Perea os9dude at gmail.com
Thu Sep 10 11:38:01 EDT 2009


On Thu, Sep 10, 2009 at 11:00 AM, John Donaldson <
johnadonaldson at sbcglobal.net> wrote:

> That would scroll down the screen with "HELLO BOB".
> If you just want it to print once.
>
> 10 PRINT "HELLO BOB"
> 20 GOTO 20
>
> John Donaldson
>

I loved to mess around with some of my colleagues (YEARS ago) writing stuff
like:

10 FOR I=0 TO 1:PRINT"HELLO WORLD ";:I=0:NEXT

"Where's the GOTO 10?" was the initial question :-)



-- Rogelio



More information about the Coco mailing list