sqa Posted April 19, 2012 Share Posted April 19, 2012 Hi, can you please help me with the following problem: I have script 1 that calls script 2 and both of them have to include a reference for script 3 using #include<..\script3.au3>. Obviously, running these scripts will give a duplication error. How can I check for the duplication and proceed further? Thanks a lot for your help Link to comment Share on other sites More sharing options...
hannes08 Posted April 19, 2012 Share Posted April 19, 2012 you could use the "#icludeonce" option(?) at the top of your script3.au3 to prevent it to be included more than one time. Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Link to comment Share on other sites More sharing options...
sqa Posted April 19, 2012 Author Share Posted April 19, 2012 Thanks a lot Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now