Thank you Tabsoft for the above snippet. Tested and it works. I have already replaced the IF/THEN/ELSE code that I could not stand with.Code:MyPin = Bell MyPin = !Mypin 'This will force the logical Not at the bit variable level Report = MyPin + 48
Now that a more elegant workaround has been found, the question remains: PBP3 cannot handle pin alias. Is it a bug?
Cheers
Al
Bookmarks