Garry (Customer) asked a question.

How can I use escape sequences using ProductivityBlocks C++ Code Line?

If I use the escape sequence \" (double quote) on the C++ Code Line, it will get changed on the IDE to \\" when the program is verified. This would then be the escape sequence for the backslash. (\\) + "

https://en.cppreference.com/w/cpp/language/escape

I would have thought that the C++ Code Line would keep the information identical to what is entered.

Thanks,

Garry


Garry likes this.
  • Tinker (Customer)

    I think it is open source, you could probably patch the source code if you like.

    What do you need the \" for? would \x22 work?

    • Garry (Customer)

      Thanks Tinker,

      I was trying to use the escape codes to demonstrate the web server using Productivityblocks. HTML has a lot of double quotes.

      \0x22 will return \\0x22 - This is not correct.

      This will probably need to get corrected in the source code.

       

      Garry

       

      Expand Post