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

[REBOL] Re: I just ain't gettin' it! :)

From: edanaii:cox at: 19-Dec-2002 12:29

Gregg Irwin wrote:
>No, CHANGE changes a value at a given position in a series, or >multiple values if you use /PART. You use AT to get the series at >the position you want to change. >
Yea, I finally realized why I got confused.
>> x: [ 1 2 3 4 5 ]
== [1 2 3 4 5]
>> Change at x 3 5
== [4 5] Issuing Change appeared to cause a partial result set [ 4 5 ] to be returned. It wasn't until after I did the following that I realized my mistake.
>> x
== [1 2 5 4 5] -- Sincerely, | The problems of two little people don't amount to Ed Dana | a hill of beans in this crazy mixed-up world! But Software Developer | this is OUR hill, and these are OUR beans! 1Ghz Athlon Amiga | -- Naked Gun via Casablanca.