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

[REBOL] How do I get the sort/compare func not to sort?

From: anton:globalcenter:au at: 21-Sep-2000 6:01

Hello, Given, s: "abvde" sort/compare s func [a b][return 0] What can I exchange for the 0 return value such that the input is left unchanged? (and no, the answer is not "don't sort to start with" :-) I've tried -1, 0, 1. They all change the string! Anton.