mikewm wrote:
The SYNTAX ERROR occurs both in the program and when entered directly anytime I try to assign "POR" or "PORxxxx" to a number. It seems that "POR" and derivatives starting with "POR" are reserved for some reason in MSBasic.
Has anyone seen this that can explain what's going on.
One thing to note is that MS basic only uses the FIRST 2 letters of a variable name, so PORTA is the same as PORTB.
The reason you're getting an error is due to PORTB having the OR keyword inside it. It's interpreted as
P OR TB which is a syntax error on the left side of the = sign...
Try just DA, DB, PA, PB and so on.
-Gordon
_________________
--
Gordon Henderson.
See my
Ruby 6502 and 65816 SBC projects here:
https://projects.drogon.net/ruby/