Searching \ for 'Location of Include statement' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=location+include
Search entire site for: 'Location of Include statement'.

Truncated match.
PICList Thread
'Location of Include statement'
2000\03\14@035754 by Grant Forest

flavicon
face
Added an I2C Include  on the next line after my P16F84.INC  (at the normal
position at the start)
and got heaps of Error[118] "overwriting previous address contents nnnn"
But when I positioned the I2C Include at the end of the code
All went OK without errors.
Does this mean it is better to put the Includes at the end???
Tks
Grant Forest

2000\03\14@061359 by Michael Rigby-Jones

flavicon
face
part 0 1285 bytes
<P><FONT SIZE=2 FACE="Arial">Added an I2C Include&nbsp; on the next line after my P16F84.INC&nbsp; (at the normal</FONT>
<BR><FONT SIZE=2 FACE="Arial">position at the start)</FONT>
<BR><FONT SIZE=2 FACE="Arial">and got heaps of Error[118] &quot;overwriting previous address contents nnnn&quot;</FONT>
<BR><FONT SIZE=2 FACE="Arial">But when I positioned the I2C Include at the end of the code</FONT>
<BR><FONT SIZE=2 FACE="Arial">All went OK without errors.</FONT>
<BR><FONT SIZE=2 FACE="Arial">Does this mean it is better to put the Includes at the end???</FONT>
<BR><FONT SIZE=2 FACE="Arial">Tks</FONT>
<BR><FONT SIZE=2 FACE="Arial">Grant Forest</FONT>
</P>
</UL>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">No, it means that your I2C include probably used some variable definations that conflicted with the first include.</FONT>
</P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Mike</FONT>
</P>

</BODY>
</HTML>
</x-html>

2000\03\14@181831 by Andrew Allen

flavicon
face
As I understand it I think you are supposed to put the include where you would
normally write the code.  I seem to remember reading that in some microchip
bumpf a week or so ago ?

Andrew

Andrew Allen
(Fairly new to piclist)

Grant Forest wrote:

> Added an I2C Include  on the next line after my P16F84.INC  (at the normal
> position at the start)
> and got heaps of Error[118] "overwriting previous address contents nnnn"
> But when I positioned the I2C Include at the end of the code
> All went OK without errors.
> Does this mean it is better to put the Includes at the end???
> Tks
> Grant Forest

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...