you know, in ALL programming language, error message are often helpfull but often they wouldn't point you the exact line or part of code where the error is. It's amazing what a missplaced or missing ENDIF, WEND, Variable declaration could do also 
here's a reaally short example
Code:
b1 var byte
I2cread PORTB.0,PORTB.1,0,0,[b1]
try this as is. Without anything else It compile O.K right ???
Now remove the first line and compile the code and see what's happen 
ERROR Line 3: Expected '['. (a.bas)
Last edited by mister_e; - 1st August 2005 at 00:38.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks