Jump to content

Strange Error with a standart simple func call


Recommended Posts

Hi to all,

When calling following function autoit gives an strange error.:

Func _ShowActiveDownloads($i_AD_RestartRequested = False)
    If $i_AD_RestartRequested = False Then MsgBox(64,"","Restart not requested")

Error is:

C:\FileLocation\File.au3 (6) : ==> Variable used without being declared.:
If $i_AD_RestartRequested = False Then MsgBox(64,"","Restart not requested")
If ^ ERROR

Other functions with same structure works fine and this one is the only func that gives such an error.

I couldn't figure out why.

Thanks in advance.

Regards

Tip

Edited by tip

[center]MsgBox_Tipped: Eye candy msgboxes/inputboxes/loginboxes. | CreateBlankBox: Semi-transparent layers with borders and rounded corners.[/center]

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...