Not sure I understand the question, if there is any....

In short:
* To put data on the bus, write to the LATx register
* To read data from the bus, read from PORTx register

If you do
Code:
glcd_wr	 	var	LATD.1
You can do glcd_wr = 1 but you can not do HIGH glcd_wr. HIGH/LOW etc only works on PORTx

/Henrik.