I can reproduce the error:
direction is global with value ( not defined as Number)
In a sub, direction is defined (again), but as Number.
when assigning direction the error appears in compilation (I don't know what happens when running from IDE because this program can run on device only).
I checked in a simple program - when running the IDE I get error about the re-dclaration of the variable. Compilation brings up the implicit string etc.
__________________
David Erez
Ramat Hasharon, Israel
|