Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: continue word

From: g:santilli:tiscalinet:it at: 17-Oct-2003 17:31

Hi Maxim, On Friday, October 17, 2003, 5:10:46 PM, you wrote: MOA> is there any word (I haven't found any) which skips one MOA> iteration of a loop at current point. Not that I know of. MOA> like in: MOA> foreach number [ 8 0 2 4 0 5][ MOA> if number = 0 [continue] MOA> print 100 / number MOA> ] You could use THROW and CATCH to implement CONTINUE... Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/