To see whats going on, do this..
on mouseUp
-- Local undeclared un-initialized variables evaluate as string values.
myvar is "myvar"
-- so the value returned is the name of the variable Meaning the engine
doesn't see it as a variable
-- and sees it as a string.
answer myVar
put 1 into my
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 e