Comet 32 - Compiler Bug


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Robert G Laurin on December 13, 2018 at 10:23:31:

I tried to build a large constant string (using SET) that was 207 character long. I decide to make it an INCLUDE file.

I found out that the Compiler would replace the character in the last position, just in front of the continuation mark '_', with a space.

So....


SET MyExtraLongVariable$ = "My Very (Extra) Long String with a lots and lots and lots of text that does not get to finish on a sin_
gle line and keeps going like the Energizer Rabbit forever"

I purposely cut a word to show the result as:

"My Very (Extra) Long String with a lots and lots and lots of text that does not get to finish on a si gle line and keeps going like the Energizer Rabbit forever"

In real life, my long variable was a string of characters and hex characters for accents translation with no spaces at all.

What else I found interesting is that if the continuation mark '_' was within of right after a hex character, it didn't happen.

so.


"@0102030405060708_
090A0B0C0D0E0F@"

and

"@0102030405060708@_
@090A0B0C0D0E0F@"

both came out correctly as

"@0102030405060708090A0B0C0D0E0F@"

This was tested on Windows 7 Pro 64bits with Comet32.515/17.01




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]