I have a question, is the use of the parenthesis invalid or redundant? (IsMoving()) <-> IsMoving()
It's a moot point - I'm not aware of the formal syntax diagrams being published for CB so I can only assume that CB's syntax is similar to other dialects of BASIC. With that assumption, it shouldn't actually matter because if the parentheses arn't formally part of the
while syntax (as they are in C for example) then they would be parsed as a part of the
expression syntax (in most BASIC dialects an expression can have an arbitrary number of balanced parentheses around it)
This is not to be confused with the fact that some dialects of BASIC have a peculiar syntax with regards to
actual parameter lists. Function calls use parenthesis whereas procedure calls don't UNLESS preceded by the CALL keyword. CB doesn't appear to care!
Meanwhile...
I don't see the syntax error nor does the editor. I see the funny looking ' but can't explane it.
The funny looking ` as you put it IS the syntax error. The comment char in CB is '. You can ignore it if you like but I find it interesting that this is the second time in a week where W7 has been reported to have failed to catch a syntax error that XP succeeds in catching. If an interpreter fails to catch a syntax error then personally I would not trust it after that. Your problem may have more to do with this anomaly than you might think.