[Done] PB 5.4 LTS Literal string issue with ";"?

Everything else that doesn't fall into one of the other PB categories.
User avatar
bbanelli
Enthusiast
Enthusiast
Posts: 544
Joined: Tue May 28, 2013 10:51 pm
Location: Europe
Contact:

[Done] PB 5.4 LTS Literal string issue with ";"?

Post by bbanelli »

Greetings to all,

Code: Select all

Debug ~"\";)"
Literal string not terminated (" missing).

When I remove ";" or insert any other character instead, it works properly. This line should display

Code: Select all

";)
Further more:

Code: Select all

  Debug ~"INSERT INTO users (id_card, email, name, surname, address, contact, dob) VALUES (" + CardID +
        ~", \"" + strUserToCardEmail +
        ~", \"" + strUserToCardName +
        ~", \"" + strUserToCardSurname +
        ~", \"" + strUserToCardAddress +
        ~", \"" + strUserToCardContact +
        ~", \"" + dgadDOB + ~"\")" + ";"
Returns

Code: Select all

Unfinished double quote.
Windows 7, x86. What am I doing wrong?

With my best,

Bruno

Edit: Seems to work in Beta1 LTS 5.41.
"If you lie to the compiler, it will get its revenge."
Henry Spencer
https://www.pci-z.com/
User avatar
Demivec
Addict
Addict
Posts: 4282
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: [PB 5.4 LTS] Literal string issue with ";"?

Post by Demivec »

User avatar
bbanelli
Enthusiast
Enthusiast
Posts: 544
Joined: Tue May 28, 2013 10:51 pm
Location: Europe
Contact:

Re: [PB 5.4 LTS] Literal string issue with ";"?

Post by bbanelli »

Thanks Demivec, I've missed it. :(

Obviously the second issue I've posted was settled as well! :)
"If you lie to the compiler, it will get its revenge."
Henry Spencer
https://www.pci-z.com/
Post Reply