[Coco] GOTO and code maintainability

Rogelio Perea os9dude at gmail.com
Thu Sep 10 11:46:15 EDT 2009


On Thu, Sep 10, 2009 at 11:43 AM, Darren A <mechacoco at gmail.com> wrote:

> On 9/10/09, Rogelio Perea wrote:
> >
> > 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 :-)
> >
> ---
>
> You could also use a step value of 0 as in:
>
> 10 FOR I=0 TO 1 STEP 0:PRINT"HELLO WORLD ";:NEXT
>
>
> Darren
>


And that is why I LOVE Basic, specially on the CoCo. It will be interesting
to find out how far this will go on...



-- Rogelio



More information about the Coco mailing list