Sarah Reichelt wrote:
On Fri, Apr 4, 2008 at 10:14 AM, Sarah Reichelt
<[EMAIL PROTECTED]> wrote:
And the winner is.......

 Jacque (with one modification).

 local tCount

 function reverseList pList
    put the number of lines in pList into tCount
    sort lines of pList by mySort()
    return pList
 end reverseList

 function mySort
    subtract 1 from tCount
    return tCount
 end mySort

OK, this realised this working for me and I finally figured out what
was going on - the sort needs to be numeric!
So change the "sort" line to this:

     sort lines of pList numeric by mySort()

Oops. Good catch. :)

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to