Code: Select all
global l
global w
on mouseUp
put field "width" into w
put field "length" into l
put l*w into field "area" --line 6
end mouseUp
What am I missing? I tried different variable names, parentheses, etc. It has to be something stupid I am doing wrong or that I am missing. Can anyone help me?button "Calculate": execution error at line 6 (Operators *: error in left operand), char 8