Hello again,

Please take a long at the following script :

on mouseUp
   if myVar is empty then
      answer 1
   else
      answer 0
   end if

   put 1 into myArray[1]
   put 1 into myArray[2]

   if myArray[3] is empty then
      answer 1
   else
      answer 0
   end if

   if myArray1[3] is empty then
      answer 1
   else
      answer 0
   end if
end mouseUp

Is there any logic explanation why it answers "0" for myVar
and "1" for myArray and myArray1 ?

Thanks
jbv


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to