I suggest this to be documented in the jal language pdf as an example in the 
string section....

Just my 2c....

David


Le 28 nov. 2022 à 19:05, à 19:05, Rob CJ <[email protected]> a écrit:
>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]<mailto:[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/GVXP195MB163717D19144D31EE2F7BDB3E6139%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM.

-- 
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/3775c59c-bdfe-440d-96ea-720bcd44c241%40gmail.com.

Reply via email to