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

[REBOL] Re: fun with for loops

From: g:santilli:tiscalinet:it at: 2-Aug-2002 11:28

Hi Charles, On Friday, August 02, 2002, 4:24:21 AM, you wrote: C> either condition? [ C> if true do this C> ][ C> if false C> do these C> next 20 lines C> all indented C> with more indentation C> yet to come C> very long lines C> ] Is really indentation such a big problem? Anyway, I think you could do something like: processing-func: func [etc.] [ if condition? [exit] do-all-your-work ] for etc. [ processing-func args ] or maybe use something like: for etc. [catch[ if condition? [throw 'get-me-out-of-here] do-all-your-work ]] Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: