Sign in to follow this  
Followers 0
qayqay

Trouble with include String.au3

5 posts in this topic

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>

Share this post


Link to post
Share on other sites



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?

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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:

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

This tells me you haven't upgrade to the Latest SciTE4AutoIt3 version ... That will solve your problems ..:)

UFF, Thank you! :whistle:

Share this post


Link to post
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
Sign in to follow this  
Followers 0