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

[REBOL] Re: "piping" functions

From: antonr::lexicon::net at: 25-Nov-2005 14:49

Look at the help for COPY. ? copy There you can see: /part -- Limits to a given length or position. range -- (Type: number series port pair) When you use INDEX?, you get a number, and COPY uses that as a length. When you use a series directly, COPY uses its index to specify the position of the end of the copy. In other words: - A number specifies a length, so the end position is always relative to the start position. - A series specifies an absolute ending position. Anton.