none
Unexpected token (variable) found. RRS feed

  • Question

  • Hi, I'm pretty new to small basic, but whenever I try to put a variable after the "Then" of an if statement, I get this error. For example:

    If mx >699 And my >0 And my < 101 Then DrawColor = 1

    I receive the error "Unexpected token DrawColor found." in this case, even though I have the variable previously defined and I included an EndIf statement. Anyone know how to fix this? Thanks!

    Thursday, July 21, 2016 4:47 PM

Answers

All replies