Page 1 of 1

PrimalScript is randomly adding characters to end of VBS file

Posted: Fri Sep 14, 2018 10:41 am
by sapien@leafgrove.com
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

Re: PrimalScript is randomly adding characters to end of VBS file

Posted: Fri Sep 14, 2018 11:44 am
by Olga_B
Thanks for reporting the issue.
It has been sent to the proper place for evaluation and correction

Re: PrimalScript is randomly adding characters to end of VBS file

Posted: Thu Sep 20, 2018 2:43 am
by Alexander Riedel
I still cannot reproduce that. Same question as to the original post, what is the encoding of your file?