Reversing a list

Richmond Mathewson geradamas at yahoo.com
Thu Apr 3 11:28:35 EDT 2008


Stupid Me! realise that the line:

put the number of lines of fld "fZ" into TNUM

is redundant and only serves to slow the thing down.

Clumsy or not (!!!!!!!!!!!!!!):

on mouseUp
  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

does things bl**dy quickly, and without the need of
some fancy homemade function!

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