1
GLBasic - en / Problem storing backslash in a string.
« on: 2010-Oct-06 »
In my code I have:
The same happens if I use "\"" to try and get a quote symbol into a string.
Using a single \ I get a syntax error when trying to compile. Am I making another school boy error?
Code: (glbasic) [Select]
gkeyDesc$[86] = "\\"
It causes my app to close down as soon as it gets to that line. If I comment out that line, it works fine.The same happens if I use "\"" to try and get a quote symbol into a string.
Using a single \ I get a syntax error when trying to compile. Am I making another school boy error?