PrimalScript is randomly adding characters to end of VBS file
Posted: Fri Sep 14, 2018 10:41 am
Regarding this: viewtopic.php?f=11&t=12927
The same happens to me
I replicated it by making and then undoing a lot of changes, perhaps a dozen lines of code.
I saved and ran, I got an error:
Microsoft VBScript compilation error: Invalid character
The invalid text is not visible in the file, but is the last line. I didn't think to save it, but it was similar to "a?????@????" (without the quotes)
Removing the last line does not remove the problem.
The last line of code prior to the invalid characters is simply an End Sub statement.
Close and re-open and the text is visible and can be removed.
Saving the file, then running is successful
The same happens to me
I replicated it by making and then undoing a lot of changes, perhaps a dozen lines of code.
I saved and ran, I got an error:
Microsoft VBScript compilation error: Invalid character
The invalid text is not visible in the file, but is the last line. I didn't think to save it, but it was similar to "a?????@????" (without the quotes)
Removing the last line does not remove the problem.
The last line of code prior to the invalid characters is simply an End Sub statement.
Close and re-open and the text is visible and can be removed.
Saving the file, then running is successful