INPUT example from help - won't tokenize
John Kauffman
Posts: 653
Help for INPUT has this example with instructions to test by adding/removing a 10K resistor from +5v to Pin 7.
INPUT 7
DEBUG "state of",Pin7,CR
An output example implies this, too, would work:
INPUT 7
DEBUG "state of",#Pin7,CR
Neither will tokenize. In both cases the error is for "An undefined symbol" on the Pin7 or #Pin7
Any guesses?
INPUT 7
DEBUG "state of",Pin7,CR
An output example implies this, too, would work:
INPUT 7
DEBUG "state of",#Pin7,CR
Neither will tokenize. In both cases the error is for "An undefined symbol" on the Pin7 or #Pin7
Any guesses?
Comments
Odd to me that the definition line was not in the Help example.
The example was a full program: from {$...} directives right down to END
I think you fell into unfortunate and seldom advertized “gotcha” of the BS product.
The difference between PBASIC version and editor version.
PIN is defined in PBASIC 2.5 only.