No of visitors who read this post: 3420
Category: Windows 7
Type: Question
Your rating: None Average: 3.3 (3 votes)

Hi,

Need a little help with an error message that pops up every time I try to perform an action. Below is a screen shot of the error message?

Error: Variable used without being declared.

AutoIt Error

Line 1583 (File “C:\Program Files\Rainmeter\Addons\MakeStaller\MakeStaller.exe”):

Error: Variable used without being declared.

                         OK

I had to recently update my AutoIt which I had done successfully on my Windows 7 PC. I had downloaded the latest version from http://www.autoitscript.com/autoit3/files/beta/autoit/

I had written a new script, which I tried to compile and I get the above error message.

This has never happened before I upgraded the software. After this update, any script I compile comes up with the same error. For testing purposes I tried to compile an older script, which I had done before and still it comes up with the same error message. Does anyone have any idea why this error message pops up?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

# (Solution Accepted)

Hello Joseph,

You may try any of the following methods to resolve the issue:

Method 1:

  1. Click “Start” button and type “cmd” (without the quotes”) in the search box and click “Start Search”.
  2. Right click “cmd” from the list and click “Run As”.
  3. On the Run As window, choose Administrator and enter the password if prompted to and click “Continue.
  4. Type “sfc /scannow” (without quotes) in the command prompt and press Enter.
  5. Check whether the issue is resolved.

Method 2:

If you suspect that your computer is affected by virus or spyware, you can download and run the Safety Scanner from Microsoft that helps in removing viruses, Spyware, and other malicious software. SAFETY SCANNER FROM MICROSOFT.

The following web link will provide more information regarding Malware: Hope this helps. Peter

# (Solution Accepted)

It is a purely programming error and due to the reason that the program is using some variables, which are not declared it means that the program is not fully written and that's why it is giving this error. You can uninstall the version of the program you just installed to solve this problem.

If you are working on a project, in this program then find any bugs and errors in your program and make it error free. It will solve your problem and this message will not pop up next time.

In programing languages, a variable is a kind of data that needs to be changed over time and the message says that you have not declared this type of data and you are using the data without declaring it. So it can solved by first declaring the data type and then the data.

I think now you have enough knowledge to solve your problem. It the problem remains, with change in your program then you can install a fresh copy of that program to solve this problem which is valid and up to date.