I am using an 18F458 PIC to do alot of communication with 6 other PICS. I am trying to save some code space and I am wondering if I can assign a pin variable to another variable. Would the following code work?

datachkRx var Byte
Baud384 con 6

WirelessRx_Tx var PORTE.1 ' Transmit to Wireless Receiver
TxPin var Byte

TxPin = WirelessRx_Tx
SEROUT2 TxPin , Baud384, [datachkRx]

I know when working with Pin numbers greater than 15 as in the BS2p40 from parallax, I would have to specify that the pin was a higher number than 15 before executing the code which used the pin.

Any insights would be greatly appreciated.
Kind Regards,
Eric