Innovative Posted January 29, 2008 Share Posted January 29, 2008 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 ? Link to comment Share on other sites More sharing options...
therks Posted January 29, 2008 Share Posted January 29, 2008 Pixies? Gremlins? You haven't given us much to go on here. I'd say you're wrong, that there IS a duplicate function, somewhere. Try running the function and see what happens, check for return values, whatever. What's the name of the function that says it's duplicate? My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
MHz Posted January 29, 2008 Share Posted January 29, 2008 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. 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