neelakantankk nous apporta ses lumieres en ce 25-03-2007 06:29:
> Just a question. If "stones.inc" uses "colors.inc" and i include
> "colors.inc" in both "stones.inc" and my main file, will "colors.inc" be
> parsed twice? or will it give an error?
>
>
It will be parsed only once. The default includes include a guard against that case.
Look at the following lines:
#ifndef(Colors_Inc_Temp)
#declare Colors_Inc_Temp = version;
Everything in colors.inc is contained in that #ifndef (means if NOT deffined).
--
Alain
-------------------------------------------------
A day for firm decisions!!!!! Or is it?
Post a reply to this message
|