on mouseUp
  put empty into cd fld 2
  wait 5 ticks
  put 0 into XX
  put cd fld 1 into listXX
  put the ticks into timer
  repeat for each line L in listXX
    put L into tLine
    put item 1 of tLine  into item 2 of tLine
    put tLine & cr after tList
  end repeat
  delete char -1 of tList
  put (the ticks - timer)/60
  put tList into cd fld 2
end mouseUp

How does this one stack up?

(on my sample data of 30000 lines "a,b,c,d", this took 60 milliseconds).

Best,

Mark

On 21 Jul 2006, at 19:45, John Miller wrote:

on mouseUp
  put empty into cd fld 2
  wait 5 ticks
  put 0 into XX
  put cd fld 1 into listXX
  put the ticks into timer
  repeat for each line L in listXX
    add 1 to XX
    put line XX of listXX into item 2 of line XX of listXX
  end repeat
  put (the ticks - timer)/60
  put listXX into cd fld 2
end mouseUp

_______________________________________________
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