Jump to content
Sign in to follow this  
Innovative

Duplicate func but false

Recommended Posts

I had a func .. WHen i run the au3, it said it has a duplicate function.. But i check the WHOLE script including the includes.. There is NO duplicate functions.. What is happening ?

Share this post


Link to post
Share on other sites

Add

#include-once

to the top of each include file.

If you include the same file containing a user-function more than once, you will get a "Duplicate function" error. When writing an include file that may be used in this way, make sure that the top line contains #include-once to prevent that file from being included more than once.

:D

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  

×
×
  • Create New...