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

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

From: edanaii::cox::net at: 18-Dec-2002 14:42

OK, This is something in REBOL I just haven't figured out yet. How do update a value in the middle of a series? If I have an array of x: [ 1 2 3 4 ], how do I update it to be x: [ 1 2 5 4 ]. I do not want to change any other value and I want to do it based on Index. I can do this: x/3: 5. But I want to do this dynamically and can't figure out how to use "Change" (if that is the right function) to do it within a program. -- 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.