Nick, PortB.0[W0] = Coilstate is a workaround to obtain PortB.[W0] = Coilstate and have the code compiling.

Cheers

Al.