A slightly disturbing problem about items

jbv jbv.silences at Club-Internet.fr
Sat Jun 4 15:15:23 EDT 2005


Example 1 :

on mouseUp
  put "" into L
  repeat with i=1 to 5
    put i & comma after L
  end repeat
  put number of items of L
end mouseUp

the answer is "5"

---------------

Example 2 :

on mouseUp
  put "" into L
  repeat with i=1 to 5
    put i & comma after L
  end repeat
  sort items of L ascending numeric
  put number of items of L
end mouseUp

the answer is "6"


Any comment ?

JB



More information about the use-livecode mailing list