Sign in to follow this  
Followers 0
sqa

question how to use #include<..\file.au3> duplication.

3 posts in this topic

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

Share this post


Link to post
Share on other sites



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]

Share this post


Link to post
Share on other sites

Thanks a lot

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0