Gregory, you can use functions as part of your sort command, like this:


on mouseUp
  sort lines of fld 1 numeric by getMonthNum(word 1 of each)
end mouseUp

function getMonthNum aMonth
  return lineOffset(aMonth,the monthNames)
end getMonthNum


Cheers,

Mark

On 18 Oct 2005, at 17:04, Gregory Lypny wrote:

Hello everyone,

I have a simply twelve-line list with the name of a month as the first word on each line. The list is not in order, and I'd like to sort it January to December using the monthNames. Don't know how.

sort lines of theList by first word in each [need connection to the monthNames here]

Otherwise, I suppose a simple repeat loop, although clunky, would do.

    Regards,

        Greg
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to