If you have something like
IF a$="\\" then debug "Hello"
all code after the conditional check is never converted to uppercase, generating compiler errors.
If you split the code over multiple lines, then everything is okay
Strange problem.
Is it interpreting the escape characters \" before (or after) the \\ is interpreted?
You could change it to:
IF a$=CHR$(92) THEN DEBUG "Hello"
im thinks im have accounted this nearly from im discovered glbasic. the CHR$ is the way to go. Im dont thinks glbasic intepreting the escape correctly.
Yeah. It was something I posted about years ago when using it as part of a string.
Yes, I thought it had been mentioned before.
QuoteIs it interpreting the escape characters \" before (or after) the \\ is interpreted?
I dont know - using CHR$ will be needed though
Yes the escape character is tricky. could you use / instead? even for a path name ? try once c:/here/there/file.ext
Could you use KEY() if you just get the keyboard input ? Good luck!