Hi Mark,

The first thing to do is open up the .LST file with the same name as your program, with Notepad or equiv. Do a search for the error number that's given by the compiler. It should look something like [???], where ??? is a 3 digit number.

That should give a close idea of where the problem is, but not always.

Typically, a macro error means that you are trying to do something that is not supported, or using variables that don't work with that command.

In the case of SUB?TCL, it means that you are trying to subtract a CONstant from a BIT and place the result in a LABEL, which obviously can't happen.

So, somewhere in your program, look for a subtraction that has a LABEL before the equal sign.

Labels are what you would GOSUB or GOTO to.

HTH,
   Darrel