Jump to content

Error: Duplicate Function Name

Recommended Posts

I have a script which is broken into 13 parts (individual scripts).

I have checked it repeatedly, and put one apparently offending script at the top of a hierarchy so that it is only in one include statement.

Yet I keep getting Duplicate Function Name with all the fns in that script listed in Scite. Same thing with vanilla AutoIt compiler; of course only first fn is shown.

Any chance it is not my newbie script?

Sorry, seems too much to post the code.

J :lmao:

If I am too verbose, just say so. You don't need to run on and on.

Link to post
Share on other sites

I generally avoid that by putting an #include-once in ALL my include files, and each include will recurse the others. The only one at the top of the heirarchy is the main code. If I need to add additional functions besides the 3 includes I have, I'll write a separate #include line as needed for that particular program.

For example:

#include <BCBS-SupportFunctions.au3>

is the only include line in my main programs, but

#include <BCBSConstants.au3>
#include <Datenew.au3>

is in the support functions.


#include <BCBS-SupportFunctions.au3>
#include <Datenew.au3>

is in the constants

I probably don't need this ammount of recursion, but I like to be anal about minor details. :lmao:

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...