Jump to content

Trouble with include String.au3


qayqay
 Share

Recommended Posts

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

  • Developers

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

Link to comment
Share on other sites

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

  • Developers

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

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

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