Buy you a copy of PIC BASIC PRO. Not putting you down or any thing but as hard a time you had with Swordfish C would put you in a nut house.
You will be well served MrDev to heed that advice. Pic Basic Pro is rather pricey though. http://www.myamicus.co.uk/ which is exactly the same as PDS other than be restricted to 2 chips the 18F25K20 and 18F25k22,so you can at least se if you like the synstax of PDS.
Re: Essential C By Nick Parlante A Great pdf on C language
7 years 5 months ago #10127
As a rule it's the norm to use lower case. defines are large cap etc
and with varibles just make sure to be consistent in work I always use a capital letter for the first letter of the varible ex Cat not cat. And I don't use varibles that are close to the same spelling, reduces a lot of mistakes.