Sign in to follow this  
Followers 0
BruceCopperField

Avoiding Name Crash

4 posts in this topic

My scripts is getting big and I'm having many modules joined together by #include. But the point is the #include is actually sticking the files into one big main .au3 file and there is no separate namespace for the global variables defined in each included file. How could I make sure there is no name conflict of variables in each modules?

Share this post


Link to post
Share on other sites



My scripts is getting big and I'm having many modules joined together by #include. But the point is the #include is actually sticking the files into one big main .au3 file and there is no separate namespace for the global variables defined in each included file. How could I make sure there is no name conflict of variables in each modules?

Normally the au3check shows you if there are to vars with the same name.


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

Normally the au3check shows you if there are to vars with the same name.

I've done a quick review of the document but can't locate the description of this tool. Is it a utility to be launched manually?

Share this post


Link to post
Share on other sites

If your using SciTE

Open your script -> Ctrl+F7 (Compile) -> Go to Tab "Au3Check"

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