PDA

View Full Version : How to get rid of these errors?



Megahertz
- 26th July 2011, 22:09
After compiling, I get the following set of errors:

C:\D_DRIVE\simulate\16F676.BAS ERROR Line 109: Redefiniton of LABEL PortA.
C:\D_DRIVE\simulate\16F676.BAS ERROR Line 110: Redefiniton of LABEL PortC.
C:\D_DRIVE\simulate\16F676.BAS ERROR Line 154: Bad expression.
C:\PBP\MODEDEFS.BAS ERROR Line 14: Redefinition of SYMBOL T2400.
C:\PBP\MODEDEFS.BAS ERROR Line 15: Redefinition of SYMBOL T1200.
C:\PBP\MODEDEFS.BAS ERROR Line 16: Redefinition of SYMBOL T9600.
C:\PBP\MODEDEFS.BAS ERROR Line 17: Redefinition of SYMBOL T300.
C:\PBP\MODEDEFS.BAS ERROR Line 19: Redefinition of SYMBOL N2400.
C:\PBP\MODEDEFS.BAS ERROR Line 20: Redefinition of SYMBOL N1200.
C:\PBP\MODEDEFS.BAS ERROR Line 21: Redefinition of SYMBOL N9600.
C:\PBP\MODEDEFS.BAS ERROR Line 22: Redefinition of SYMBOL N300.
C:\PBP\MODEDEFS.BAS ERROR Line 24: Redefinition of SYMBOL OT2400.
C:\PBP\MODEDEFS.BAS ERROR Line 25: Redefinition of SYMBOL OT1200.
C:\PBP\MODEDEFS.BAS ERROR Line 26: Redefinition of SYMBOL OT9600.
C:\PBP\MODEDEFS.BAS ERROR Line 27: Redefinition of SYMBOL OT300.
C:\PBP\MODEDEFS.BAS ERROR Line 29: Redefinition of SYMBOL ON2400.
C:\PBP\MODEDEFS.BAS ERROR Line 30: Redefinition of SYMBOL ON1200.
C:\PBP\MODEDEFS.BAS ERROR Line 31: Redefinition of SYMBOL ON9600.
C:\PBP\MODEDEFS.BAS ERROR Line 32: Redefinition of SYMBOL ON300.
C:\PBP\MODEDEFS.BAS ERROR Line 36: Redefinition of SYMBOL MSBPRE.
C:\PBP\MODEDEFS.BAS ERROR Line 37: Redefinition of SYMBOL LSBPRE.

I am using windows 7.

Darrel Taylor
- 26th July 2011, 22:19
Rename your file to something other than 16F676.bas