Thanks. I think there is an SE compiler or configuration issue. The SE code does not work regardless of the switch settings. Whether one tests for high or for low does not make any difference.
Thanks for the help.
Bug with SwordfishSE PIC18F46K22? (works with PICBASIC PRO)
Moderators: David Barker, Jerry Messina