When I press a button on my card it uses the following code:
Code: Select all
on mouseUp
   send Calculate to card "Steve"
end mouseUpAnyway,
When that part was working (it just stopped working after I closed and re-opened it) I was having issues with the Calculate command anyway
My code is as follows:
Code: Select all
on Calculate
   --   Stores the price and percentage into temporary variables
   set the tPrice of this card to field "Price Input"
   set the tUO of this card to (4/100)
   set the tAccUO of this card to (multiply (tUO of this card,tPrice of this card))
end CalculateIt comes up with error: compilation error at line 11 {that is the line with set the tAccUO...} (Function: separator is not a ',') near "of", char 46
Where have I gone wrong please guys?
Thx



