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

[REBOL] Re: change/at

From: rebol665:ifrance at: 20-Sep-2002 8:41

Hi List, Gregg said
>> to me, there doesn't seem to be any benefit to adding an /AT refinement
to CHANGE.
>> change at test i true >>vs. >> change/at test i true >>--Gregg
I see an important difference. What a newbie will do is to try "help change" at the console. Change being the function that "Changes a value in a series and returns the series after the change.", it seems logical to search the answer here. Here again, it's not good for the rebolution ! USAGE: CHANGE series value /part range /only /dup count DESCRIPTION: Changes a value in a series and returns the series after the change. CHANGE is an action value. ARGUMENTS: series -- Series at point to change (Type: series port) value -- The new value (Type: any-type) REFINEMENTS: /part -- Limits the amount to change to a given length or position. range -- (Type: number series port) /only -- Changes a series as a series. /dup -- Duplicates the change a specified number of times. count -- (Type: number) Patrick