Palmerj Posted January 22, 2014 Posted January 22, 2014 Hello, Just updated to version 3.3.7 and noticed a peculiar behavior when compiling AutoIt scripts. If I create a test file and save it with a file name of "MyTest.au3" the inline errors work. However, if I save the same script with a name like "My_Test.au3" the inline errors no longer work. In fact, renaming the file and removing the underscore does not fix the problem. Seems that, once triggered, the issue follows the script no matter what the name is. The only way to fix it is by creating a new file and copying the source code from the broken script, then saving with a new name that does not contain an underscore. Has anyone experienced this issue? Here is the code I'm using to test. ; A codefull of errors Local $MyVar = "This syntax is wrong MsgBox(0,"Test Box", $MyVar) Msg Box(0, "Test Box", $MyVar
Developers Jos Posted January 22, 2014 Developers Posted January 22, 2014 What happens when you close my_test.au3 and then open it again? Does it then work again? Jos 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.
Palmerj Posted January 23, 2014 Author Posted January 23, 2014 (edited) The problem remains even when the name is corrected. I should mention that I'm using the Bespin color configuration which I downloaded today. I've attached a couple of screen shots. The first one (see good.jpg) shows a script named "Error_Test.au3". As you can see, the inline errors work when I try to run using F5. I then went ahead and saved it as "Error_Test v2.exe" (space between Test and v2) and it no longer works (see bad.jpg). At first I thought it might be caused by the underscore, but now I'm thinking it might be the space in the name. Thanks. Edited January 23, 2014 by Palmerj
Developers Jos Posted January 23, 2014 Developers Posted January 23, 2014 I see the same thing happening, but it clears when i either click on another open file tab and then go back to the renamed file, or close the renamed file in scite and open it again. Jos 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.
Palmerj Posted January 23, 2014 Author Posted January 23, 2014 OK. I am getting the same results; clicking on another tab clears it. If I do a "save as" with a different name, the problem returns. My first suspicion that it was related to the file name was incorrect. Looks like a minor bug. Still, it might be a good idea to add it to the list of pending corrections for the next release. Thanks for looking into it.
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