Hi Rob,

I think that* \" *also works.
Googled and found it...
Thank you.

Cheers,
FS

On Monday, November 28, 2022 at 6:05:09 PM UTC [email protected] wrote:

> Hello Filip,
>
> I had to look this up in the compiler documentation and test.
>
> Apparently this works: 
> my_string[] = "AT+CSCS=\x22GSM\x22"
>
> So " should be entered as \x22 (ASCII character for ").
>
> Kind regards,
>
> Rob
>
>
> ------------------------------
> *Van:* [email protected] <[email protected]> namens flyway38 <
> [email protected]>
> *Verzonden:* maandag 28 november 2022 17:57
> *Aan:* jallib <[email protected]>
> *Onderwerp:* [jallib] String issue 
>  
> Hello all,
>
> I need to compose a string (for AT commands) which include double quotes 
> (").
> How to do it without JAL seeing it as somethig else?
> Example:
> const byte w1[] = "AT+CSCS="GSM""
>
> Gives this error:
> [Error] (ParqTelm_V02.jal) [Line 192]  "gsm" not defined
> [Error] (ParqTelm_V02.jal) [Line 192]  unexpected token: gsm
>
> Please help :D
> Thank you very much.
>
> Kind regrads,
> Filipe Santos
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "jallib" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jallib/f67c9b8f-e1f4-4504-ac72-86a6c48e5220n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jallib/f67c9b8f-e1f4-4504-ac72-86a6c48e5220n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/eea98894-5bf8-4438-b028-8f5912137ecan%40googlegroups.com.

Reply via email to