paw Posted March 27, 2021 Share Posted March 27, 2021 I had a really weird problem, code which I deleted seemed to still be executing somehow even though it was no longer present anywhere in my code! It behaved like a function registered with AdLibRegister, but it was not even a function, it was just a simple infinite while loop with two ConsoleWrite functions inside. I fixed it by running a different script before running it again. Does anyone know what could've caused this? Link to comment Share on other sites More sharing options...
pseakins Posted March 27, 2021 Share Posted March 27, 2021 Of course we don't know because you haven't given us any information. All very vague. If you show us an example of the code we may be able to help. You have to ensure that the code is not running when you compile your changes. If you didn't look closely at the output window you may not have noticed that the compile didn't complete. argumentum 1 Phil Seakins Link to comment Share on other sites More sharing options...
paw Posted March 27, 2021 Author Share Posted March 27, 2021 I basically had something like this below my includes to test something While 1 ConsoleWrite("Loop" & @CRLF) Sleep(100) WEnd Which I then deleted Then it still printed "Loop" every time I ran the script after that (by pressing F5 in SciTE). Normally SciTE doesn't allow me executing two scripts at the same time, but if that somehow happens would the "Loop" from the previous script still show up in the output after you reopen SciTE? Link to comment Share on other sites More sharing options...
Developers Jos Posted March 27, 2021 Developers Share Posted March 27, 2021 check those includes for that code or else just post the whole set of files. 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. Link to comment Share on other sites More sharing options...
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