BigOneWay 0 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 Share this post Link to post Share on other sites
BigOneWay 0 Posted May 24, 2010 Sorry sorry! Scythian = Scite Sorry again Share this post Link to post Share on other sites
Rawox 0 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 Share this post Link to post Share on other sites
jaberwacky 327 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? Share this post Link to post Share on other sites