i based my example on a PBC code example on the Melabs Website.
adcx.bas ==> http://www.melabs.com/resources/samples/x1/pbc/adcx.bas

Our friend already defined PORTA, TRISA and so on on his First post. Read back everything.

As far as i know B0 is a pre-define variable in PBC

BIT1... comes from the PBC code example ( ... ok ok it was BIT2) and nowhere it was pre-define. By their example it seems to return or set the Bit value of B0 variable.

As i said, i tried. I don't have and i don't use PBC.

Let's see what are the result of someone using PBC.