The Mach3 parser is a bit limited and soon gets confused.
It is not keen on any real numbers in a calculation.
#100=-1 is also a problem. #100 = [1 * -1] works.
The safest way is to keep the lines simple and always put values into #vars with lots of enclosing square brackets.