Page 2 of 2

Posted: Wed Mar 25, 2009 4:31 pm
by Little John
ts-soft wrote:
Little John wrote:

Code: Select all

XIncludeFile "cool_tool.pbi"
EnableExplicit
...
But sometimes requires my include some constants, structures or variables
from my source, so i can't put the XInclude ever at beginning.
Yes, I agree. I just wanted to mention one aspect of the issue, which hadn't been mentioned before in this thread. I did not want to say, that ordering the statements always provides a solution.
ts-soft wrote:Only for Testing EnableExplicit on includes, after finish i remove this.
I personally do it the same way. :-)
ts-soft wrote:Best way was the wish by Deem2031
Yes, and I especially like this suggestion:
Deeem2031 wrote:Another solution to this problem would be, making Enable/DisableExplicit only changing the behavior in the source-file the command is written in. So files included are not affected at all - I think this is the best approach to this problem.
Regards, Little John