SamS Posted November 11, 2005 Share Posted November 11, 2005 This is the example#include <string.au3> $String = "I like AutoIt3" $Hex = _StringToHex($String) MsgBox(0, "Hex", "Original String: " & $String & @LF & " Hex: " & $Hex) $Hex = "49206C696B65204175746F497433" $String = _HexToString($Hex) MsgBox(0, "Hex", "Original Hex: " & $Hex & @LF & " String: " & $String)And this is the error it givesC:\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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\Program Files\AutoIt3\Examples\Helpfile\_HexToString.au3 - 2 error(s), 0 warning(s)Have I installed it wrong or is that normal? Link to comment Share on other sites More sharing options...
BigDod Posted November 11, 2005 Share Posted November 11, 2005 Works perfect here in release and beta. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
SamS Posted November 11, 2005 Author Share Posted November 11, 2005 oh seem work, but when i run it from SciTe I get that error. Sorry I am new to this. Link to comment Share on other sites More sharing options...
BigDod Posted November 11, 2005 Share Posted November 11, 2005 oh seem work, but when i run it from SciTe I get that error. Sorry I am new to this.I am running it from Scite as well. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
poisonkiller Posted November 11, 2005 Share Posted November 11, 2005 Your SciTe is not updated i think...Download beta update. Link to comment Share on other sites More sharing options...
MHz Posted November 12, 2005 Share Posted November 12, 2005 The problem is not Scite but an old String.au3 include that is using a parameter already declared which AutoIt Beta will not allow. It looks like Au3Check within Scite is working correctly in the 1st post in identifing it. The newer includes are with the latest AutoIt Beta installer or zip. If you are using the zip, then copy the contents of the include folder within the zip into your "C:\Program Files\AutoIt3\Include" folder. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now