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

[REBOL] Re: A surprise from REPEAT

From: g::santilli::tiscalinet::it at: 2-Aug-2001 19:02

Hello Larry! On 02-Ago-01, you wrote: LP> I don't recall seeing this documented anywhere, so I thought LP> I would mention it here. It sure surprised me!!
>> help repeat
USAGE: REPEAT 'word value body DESCRIPTION: Evaluates a block a number of times or over a series. <------------- REPEAT is a native value. ARGUMENTS: word -- Word to set each time (Type: word) value -- Maximum number or series to traverse (Type: integer series) body -- Block to evaluate each time (Type: block) (If you can call this documentation... :) The difference between REPEAT and FOREACH is that the latter allows using multiple words. Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila --