xsharp.eu • 2.8 Compiler error XS9078
Page 1 of 1

2.8 Compiler error XS9078

Posted: Wed May 26, 2021 10:49 pm
by boonnam
I notice both Wolfgang and Chris discussed this error on this thread, https://www.xsharp.eu/forum/private-pro ... rror#17655, I want to ask a different question about how to correct this compile error. Our original code look like:

Code: Select all

FWrite(pCsv,'"'+cText+'"')
To get pass XS9078 error, we changed this line to:

Code: Select all

FWrite(pCsv,""""+cText+"""")
I tried to use an escape key such as
""" or "/""
Got a different compile. Is there another way beside using 4 double-quotes? Thanks.

2.8 Compiler error XS9078

Posted: Wed May 26, 2021 11:12 pm
by Chris
Hi Boonam,

If you use the VO dialect, then this version should also work fine:

Code: Select all

'"'+cText+'"'
If you need to use a different dialect, then the escaped string syntax is:

Code: Select all

e"""+cText+e"""
of course you can also do something like

Code: Select all

DEFINE DQ := e"""
DQ + cText + DQ

2.8 Compiler error XS9078

Posted: Thu May 27, 2021 2:54 am
by boonnam
Hello Chris. Thank you for the quick reply. I believe we are using VO dialect. But hard to tell now since the information for the Language and Dialect tabs are converted to graphic. The e""" does work. Attached are the screen shot of properties of our project that failed to compile.

2.8 Compiler error XS9078

Posted: Thu May 27, 2021 6:10 am
by robert
Boonnam,
The dialect is on the Application Page.
dialect.png
dialect.png (10.27 KiB) Viewed 505 times
Robert

2.8 Compiler error XS9078

Posted: Thu May 27, 2021 1:24 pm
by boonnam
That did the trick. It was Vulcan dialect. Thank you.