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

[REBOL] Re: sorting a serie ....

From: maximo:meteorstudios at: 18-Jun-2003 14:15

try this too: print sort reduce [a b c] this might be better, it depends on what you are doing... used this way, you cannot leave words untouched, so it can't be used to build-up VID blocks... using compose like in my last mail, lets you convert only SOME values and leaves the others intact.. so:
>> probe sort compose [(a) (b) c]
[c 1 255] == [c 1 255] wheras:
>> probe sort reduce [(a) (b) c]
[-1 1 255] == [-1 1 255]
HTH! -max ----------- meteor Studios, T.D. ----------- Strong enough for a man, but made for a woman