Jump to content

Recommended Posts

Posted

I used to write lots of stuff in Perl/TK and always used a module called 'Strict' that would force you to initialize a variable first and automatically made it local to the scope it was used in.

Maybe AutoIt already does this, I'm still learning a lot daily.

As I use AutoIt more and more, any help would be appreciated.

www.abox.orgAvery HowellVisit My AutoIt Websitehttp://www.abox.org
Posted

I used to write lots of stuff in Perl/TK and always used a module called 'Strict' that would force you to initialize a variable first and automatically made it local to the scope it was used in.

Maybe AutoIt already does this, I'm still learning a lot daily.

As I use AutoIt more and more, any help would be appreciated.

If you want to be forced to declare a variable use this:

Opt("MustDeclareVars", 0)       ;0=no, 1=require pre-declare

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
×
×
  • Create New...