Reversing a list

Richmond Mathewson geradamas at
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

More information about the use-livecode mailing list