Jump to content

#include <Misc.Au3> Error


Recommended Posts

It seems I have an error in my Misc.Au3 installed with the program.

D:\AutoIt3\Include\Misc.au3(46,1) : ERROR: missing Until <expr>.

Func

This is what I found on line 46 of Misc.

Func _ChooseColor($i_ReturnType = 0, $i_colorref = 0, $i_refType = 0)

This is my code leading up to the #include command:

CODE
#include <Misc.au3>

$push = 0

While 1

If _IsPressed(24) Then

If $push = 0 Then

Sleep(1000)

EndIf

$push = 1

EndIf

If Not _IsPressed(24) Then $push = 0

WEnd

How do I begin to fix this? It won't let even the first part of my script execute.

Edited by Confounded
Link to comment
Share on other sites

I searched through the Misc file and found no errors..it then leaves my script. I saw no closing Until expressions in the examples (in fact, the #include was written for me!). Can anyone point me in the right direction? Thank you!

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