qayqay Posted February 19, 2007 Posted February 19, 2007 Hallo, I just updated my Autoit and now I get a funny bug... Whenever I #include <string.au3> I get 3 Errors. AutoIt3\Include\string.au3(78,32) : ERROR: SetError() [built-in] called with wrong number of args. Return SetError(1, 0, $sStr) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C\AutoIt3\Include\string.au3(119,45) : ERROR: SetError() [built-in] called with wrong number of args. If Not $sHold Then Return SetError(1, 0, 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ \AutoIt3\Include\string.au3(134,26) : ERROR: SetError() [built-in] called with wrong number of args. Return SetError(1, 0, 0) ~~~~~~~~~~~~~~~~~~~~~~~^ Why can't I include just a UDF without errors. I uninstalled everything and reinstalled. No help! What do I do wrong??? Code as follows: #include <GUIConstants.au3> #include <string.au3>
Developers Jos Posted February 19, 2007 Developers Posted February 19, 2007 Hallo, I just updated my Autoit and now I get a funny bug... Whenever I #include <string.au3> I get 3 Errors. AutoIt3\Include\string.au3(78,32) : ERROR: SetError() [built-in] called with wrong number of args. Return SetError(1, 0, $sStr) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C\AutoIt3\Include\string.au3(119,45) : ERROR: SetError() [built-in] called with wrong number of args. If Not $sHold Then Return SetError(1, 0, 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ \AutoIt3\Include\string.au3(134,26) : ERROR: SetError() [built-in] called with wrong number of args. Return SetError(1, 0, 0) ~~~~~~~~~~~~~~~~~~~~~~~^ Why can't I include just a UDF without errors. I uninstalled everything and reinstalled. No help! What do I do wrong??? Code as follows: #include <GUIConstants.au3> #include <string.au3> Can you show the whole SciTE output pane output? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
qayqay Posted February 19, 2007 Author Posted February 19, 2007 Can you show the whole SciTE output pane output? You mean the Panel where the Error stands? As follows "C:\Anwendung\Tools\AutoIt3\SciTE\CompileAU3\CompileAU3.exe" /prod /CompileDefaults /in "C:\Anwendung\Tools\AutoIt3\Backup\Clock\test.au3" /autoit3dir "C:\Anwendung\Tools\AutoIt3" >Running AU3Check C:\Anwendung\Tools\AutoIt3\SciTE\Defs\Production\Au3Check\au3check.dat C:\Anwendung\Tools\AutoIt3\Include\string.au3(78,32) : ERROR: SetError() [built-in] called with wrong number of args. Return SetError(1, 0, $sStr) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Anwendung\Tools\AutoIt3\Include\string.au3(119,45) : ERROR: SetError() [built-in] called with wrong number of args. If Not $sHold Then Return SetError(1, 0, 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Anwendung\Tools\AutoIt3\Include\string.au3(134,26) : ERROR: SetError() [built-in] called with wrong number of args. Return SetError(1, 0, 0) ~~~~~~~~~~~~~~~~~~~~~~~^ C:\Anwendung\Tools\AutoIt3\Backup\Clock\test.au3 - 3 error(s), 0 warning(s) >AU3Check Ended with Error(s). >Exit code: 0 Time: 2.959
Developers Jos Posted February 19, 2007 Developers Posted February 19, 2007 You mean the Panel where the Error stands? As follows "C:\Anwendung\Tools\AutoIt3\SciTE\CompileAU3\CompileAU3.exe" /prod /CompileDefaults /in "C:\Anwendung\Tools\AutoIt3\Backup\Clock\test.au3" /autoit3dir "C:\Anwendung\Tools\AutoIt3" >Running AU3Check C:\Anwendung\Tools\AutoIt3\SciTE\Defs\Production\Au3Check\au3check.dat C:\Anwendung\Tools\AutoIt3\Include\string.au3(78,32) : ERROR: SetError() [built-in] called with wrong number of args. Return SetError(1, 0, $sStr) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Anwendung\Tools\AutoIt3\Include\string.au3(119,45) : ERROR: SetError() [built-in] called with wrong number of args. If Not $sHold Then Return SetError(1, 0, 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Anwendung\Tools\AutoIt3\Include\string.au3(134,26) : ERROR: SetError() [built-in] called with wrong number of args. Return SetError(1, 0, 0) ~~~~~~~~~~~~~~~~~~~~~~~^ C:\Anwendung\Tools\AutoIt3\Backup\Clock\test.au3 - 3 error(s), 0 warning(s) >AU3Check Ended with Error(s). >Exit code: 0 Time: 2.959 This tells me you haven't upgrade to the Latest SciTE4AutoIt3 version ... That will solve your problems .. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
qayqay Posted February 19, 2007 Author Posted February 19, 2007 This tells me you haven't upgrade to the Latest SciTE4AutoIt3 version ... That will solve your problems ..UFF, Thank you!
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