Re: New keyword added: continue

new topic     » goto parent     » topic index » view thread      » older message » newer message

ken mortenson wrote:
> 
> Kat wrote:
> 
> > for loop1 = 1 to 12 do
> >   -- code
> >   goto next1
> >   -- code
> >   for loop2 = 1 to 12 do
> >     -- code
> >     goto next2
> >     -- code
> >     for loop3 = 1 to 12 do
> >       -- code
> >       goto next3
> >       -- code
> >       for loop4 = 1 to 12 do
> >         -- code
> >         goto next4
> >         -- code
> >         for loop5 = 1 to 12 do
> >           -- code
> >           goto next5
> >           -- code
> >           for loop6 = 1 to 12 do
> >             -- code
> >             goto next6
> >             -- code
> >             :next6 
> >           end for
> >           :next5 
> >         end for
> >         :next4 
> >       end for
> >       :next3 
> >     end for
> >     :next2 
> >   end for
> >   :next1 
> > end for
> 
> Is equivalent to...
> 
> > for loop1 = 1 to 12 do
> >   -- code
> >   goto next1
> >   :next1 
> > end for
> 
> Is this what you meant the code to do?

It has no meaning, it's a waste of bytes. It shows "goto next1" goes to ":next1"
etc.. Forget it.

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu