I regularly come back to designing fairly simple PIC projects, normally after long breaks, and I think I may have missed something whilst away. I am using a 18F device for the first time, and as usual did the first program to turn a load of LED's on and off, to make sure my hardware was working. I spent two days trying to do this, with the ports not behaving correctly at all, with LED's not turning on or off as they should, and me stating to think there was bugs in my programming software/hardware. In a moment of desperation, I started googling and up came a web site (I think the guys name was Bruce from rentron?) which spoke about replacing (for example) the PORTA command with the LATA command, this solved my problem instantly. I had never heard of the LAT command before, and it aint in my copy of the MELabs PicBasic Pro Compiler book. Is there any down side to just replacing all PORT commands with LAT commands? I tried searching in this forums search box, but nothing comes up for "LAT". Your help would be appreciated.

Running PBP V2.6
MicroCode Studio+
MPASM V8