PrimalScript is randomly adding characters to end of VBS file

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 5 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
sapien@leafgrove.com
Posts: 20
Last visit: Fri Feb 17, 2023 1:53 pm

PrimalScript is randomly adding characters to end of VBS file

Post 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
User avatar
Olga_B
Site Admin
Posts: 196
Last visit: Thu Mar 28, 2024 8:34 am

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

Post by Olga_B »

Thanks for reporting the issue.
It has been sent to the proper place for evaluation and correction
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

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

Post by Alexander Riedel »

I still cannot reproduce that. Same question as to the original post, what is the encoding of your file?
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 5 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.