Hello,
I have a project where I use a script file to define custom functions. For debugging I used global variables and the script command sleep(10) at some points in the code.
After the function was tested the variables were changed from global to local and the sleep-commands were deleted.
While using the function I saw that the global variables are still generated and the sleep-commands are exectued.
Opening the Script File showed that the variables are local and the sleep-commands are deleted.
Even if I delete the .script file and let the program run, it can execute the functions (also with global variables and sleep).
An old version of the script file seems to be included in the URP/ProjectScriptfile and is used to generate an script.bak file with old content.
Did this already happen to anybody of you ?
How can I fix the problem ?
How can I delete the old version of the Script file from the URP and Project-ScriptFile ?
For now i renamed my new scriptfile and the functions within so I can work with the newest version. If I dont rename the functions, the old functions will be called.
Happy to hear any oppinions/ideas.
Thank You
Best Regards,
Alexander Apostolidis