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

[REBOL] Re: Rolling your own ideal looper: does Repeat still have a bug? Re:(2)

From: g:santilli:tiscalinet:it at: 28-Aug-2000 19:41

Hello [lmecir--geocities--com]! On 27-Ago-00, you wrote: l> Hi, l> just a small change: [...] Perhaps you meant: ideal-looper: func [ 'element [word!] 'index [word!] series [series!] code [block!] /local f i ] [ f: func reduce [[throw] element [any-type!] index] code i: 1 while [i <= length? series] [f series/:i i i: i + 1] ] F is the function that should have the THROW attribute. Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila --