Home Forums General XMetaL Discussion Array sorting Reply To: Array sorting

Derek Read

Reply to: Array sorting

Here's the simplest JScript example I can think of, and it works for me:

[code]//XMetaL Script Language JScript:
var a1 = new Array(“foo”,”bar”,”baz”,”2″,”1″,”1000″);
Application.Alert(“Original: ” + a1);
a1.sort();
Application.Alert(“Sorted: ” + a1);[/code]

Reply

Products
Downloads
Support