[Coco] GOTO and code maintainability
Jorge Renato Machin Ibarra
jorge_machin at hotmail.com
Thu Sep 10 12:27:25 EDT 2009
Darren:
10 PRINT "HELLO WORD":RUN
Technically, there is no goto :P
Jorge Machin
> Date: Thu, 10 Sep 2009 09:43:26 -0600
> From: mechacoco at gmail.com
> To: coco at maltedmedia.com
> Subject: Re: [Coco] GOTO and code maintainability
>
> 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
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
_________________________________________________________________
With Windows Live, you can organize, edit, and share your photos.
http://www.microsoft.com/middleeast/windows/windowslive/products/photo-gallery-edit.aspx
More information about the Coco
mailing list