BigOneWay Posted May 24, 2010 Posted May 24, 2010 Hello, excuse my English, I use google translator. In a utility I use my ModernMenuRaw created by Holger Kotschis, the problem is when I do the syntaxcheck or compile with Scythian, tells me that some variables are already dimensioned by Constants.au3. This is a problem or not? #include <Constants.au3> #include <ModernMenuRaw.au3>;Holger Kotsch #include <GUIConstantsEx.au3> $GUI = GUICreate("Hello", 300, 300) GUISetState() do $msg = GUIGetMsg() until $msg = $GUI_EVENT_CLOSE
Rawox Posted May 24, 2010 Posted May 24, 2010 (edited) Sorry sorry! Scythian = Scite Sorry again First, please edit your post when you make instead of making a new one. I think the error is cause because of the fact that you're trying to define $GUI_EVENT_CLOSE as $msg in Until $msg = $GUI_EVENT_CLOSE But i can indeed be caused by the include, I can't test that... So try this for your loop: While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd //EDIT: Failed, forgot EndSwitch Edited May 24, 2010 by Rawox
jaberwacky Posted May 24, 2010 Posted May 24, 2010 Remove this line: #include <Constants.au3> Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
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