I am working on a very simple school project using LiveCode (a recipe for cookies), however sometimes when multiplying two varibles together I encounter sometimes the error: button "Convert to Imperial": execution error at line 8 (Operators *: error in left operand), char 8"
Here is some of the code:
Code: Select all
on mouseUp
global imperial
put "Ingredients (oz):" into field "ingredients"
//imperial
put 0.0352739619 into imperial
put s*imperial into s
put s into field "sugar"
put b*imperial into b
put b into field "butter"
put f*imperial into f
put f into field "flour"
//imperical measurements not needed for number of eggs
put c*imperial into c
put c into field "chocolate"
end mouseUp
Thanks,
Daz