String literal with special symbols inside
Posted: Sat Sep 07, 2024 7:59 am
Hi there,
I'm getting the error in this line of code:
Note that is a literal string so its content should not be parsed.
On the other hand, if you try with TEXT/ENDTEXT then it will complains because of the trailing semicolon ;
if you quit the trailing semicolon then it compiles ok.
BTW: should I post this issue here or at the github repo?
thanks!
I'm getting the error
Code: Select all
XS9002: Parser: unexpected input '{'
Code: Select all
VAR lcMacro := "IMPLEMENT_OLECREATE(<<class>>, <<external_name>>,
0x{0:X8}, 0x{1:X4}, 0x{2:X4}, 0x{3:X2}, 0x{4:X2}, 0x{5:X2}, 0x{6:X2}, 0x{7:X2}, 0x{8:X2}, 0x{9:X2}, 0x{10:X2});"
On the other hand, if you try with TEXT/ENDTEXT then it will complains because of the trailing semicolon ;
Code: Select all
TEXT TO lcMacro
IMPLEMENT_OLECREATE(<<class>>, <<external_name>>,
0x{0:X8}, 0x{1:X4}, 0x{2:X4}, 0x{3:X2}, 0x{4:X2}, 0x{5:X2}, 0x{6:X2}, 0x{7:X2}, 0x{8:X2}, 0x{9:X2}, 0x{10:X2});
ENDTEXT
BTW: should I post this issue here or at the github repo?
thanks!