Jump to content

Errors in string.au3


Recommended Posts

Hi,

I've downloaded the last versions of AutoIt3 and Scite4AutoIt.

When I try to execute a new script that only contains the following line:

#include <string.au3>

I get the following error:

C:\Program Files\AutoIt3\Include\string.au3(16,59) : ERROR: $strHex already declared as parameter

Local $strChar, $aryHex, $i, $iDec, $Char, $file, $strHex,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Program Files\AutoIt3\Include\string.au3(60,112) : ERROR: $i_EncryptLevel already declared as parameter

If Number($i_EncryptLevel) <= 0 Or Int($i_EncryptLevel) <> $i_EncryptLevel Then Local $i_EncryptLevel = 1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~^

D:\xpoulain\Xavier\autoit\test.au3 - 2 error(s), 0 warning(s)

I'm not an expert in AutoIt but it looks to me that two variables are being declared two times which seems to be an error.

When I modify the string.au3 file by deleting the declaration of the two incriminated variables, all seems fine, but I'm very surprised I seem to be the only one facing this problem as I haven't found anything in the forum...

Ever heard about that?

Link to comment
Share on other sites

When I modify the string.au3 file by deleting the declaration of the two incriminated variables, all seems fine, but I'm very surprised I seem to be the only one facing this problem as I haven't found anything in the forum...

Ever heard about that?

Yes, a couple of days ago...

ERROR: $strHex already declared as parameter

[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

Link to comment
Share on other sites

Ever heard about that?

Nope, i'm not getting that error. Beta: .83. How do you run the script?

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

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...