0 Members and 1 Guest are viewing this topic.
If abs(A+r1-{GDB1+R})<8 and (abs(B+r2-{GDB2+R})<8)
get rid of the ( before the second abs(, that might be it
nope, try:If (abs(A+r1-{GDB1+R})< 8 ) and (abs(B+r2-{GDB2+R})< 8 )or:If (abs(A+r1-{GDB1+R})<8 and abs(B+r2-{GDB2+R})< 8 )or:If abs(A+r1-{GDB1+R})<8 and abs(B+r2-{GDB2+R})< 8
hmm, usually its a parenthesis issue, at least with me. What do you have set as R?
Um... is Abs() even an Axe token? It doesn't seem to do anything for me and it's not listed in the command index, although it compiles.
Quote from: Builderboy on October 03, 2011, 06:08:55 pm{CONST} or {CONST + Var} produces a 'Wrong # of Args' error Thanks, I just caught that. A workaround for now is to just add the constant after the variable: Var + CONST, which is more optimized anyway.
{CONST} or {CONST + Var} produces a 'Wrong # of Args' error
Quote from: Qwerty.55 on November 15, 2011, 05:35:18 pmUm... is Abs() even an Axe token? It doesn't seem to do anything for me and it's not listed in the command index, although it compiles.I just checked the 1.0.5 command list, and abs() is valid.Quote from: Quigibo on October 04, 2011, 05:36:39 amQuote from: Builderboy on October 03, 2011, 06:08:55 pm{CONST} or {CONST + Var} produces a 'Wrong # of Args' error Thanks, I just caught that. A workaround for now is to just add the constant after the variable: Var + CONST, which is more optimized anyway.This could have something to do with the issue.Try {R+GDB1} and {R+GDB2} instead and see if that works.
Quote from: Qwerty.55 on November 15, 2011, 05:35:18 pmUm... is Abs() even an Axe token? It doesn't seem to do anything for me and it's not listed in the command index, although it compiles.I just checked the 1.0.5 command list, and abs() is valid.