Charles replied:
Yes, I believe it can be trusted with a variable. I've used this form to receive a variable number of characters based on a length parameter received immediately prior to the string:
[wait($80),length,STR idstring\length]
So officially it is valid syntax.
Ioannis
For now, here a my two test programs with 16F690 and 18F1220.
Surprisingly (to me), both accept the STR length as variable in the 3 ways I'm using it (HSEROUT, SEROUT2 and DEBUG).
I'll go back to my current program and try again....
Roger
Bookmarks