Reversing a list

Richmond Mathewson geradamas at yahoo.com
Thu Apr 3 10:11:05 CDT 2008


Try this:

on mouseUp
  put the number of lines of fld "fZ" into TNUM
  put the number of lines of fld "fZ" + 1 into ANUM
  repeat for each line ZNUM in fld "fZ"
    put (ANUM -1) into ANUM
    put ZNUM into line ANUM of fld "fA"
  end repeat
end mouseUp

where fld "fZ" is the starting field and "fA" is the
finishing field.

love, Richmond

____________________________________________________________

A Thorn in the flesh is better than a failed Systems Development Life Cycle.
____________________________________________________________


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Inbox http://uk.docs.yahoo.com/nowyoucan.html



More information about the use-livecode mailing list