How To

How to print the character " ?

1

gamer_12321 2020-02-22 12:28

It’s impossible to print it because the error : UNTERMINATED STRING occurs. Can somebody knows how to print it.
If we can’t print it please Timo make an update to remove " symbol .


Timo 2020-02-22 12:37

PRINT "THERE: "+CHR$(34)+"!"

A bit complicated but possible. I would simply use the single thing ‘


gamer_12321 2020-02-22 14:24

Thanks but with ‘ ‘ it does a 2 character long text.


nathanielbabiak 2020-02-22 15:00

Just do what Timo suggested...
DOUBLE_QUOTE$ = CHR$( 34 )
PRINT "THERE: " + DOUBLE_QUOTE$ + "!"


was8bit 2020-02-22 15:24 (Edited)

Less space...

Q$=CHR$(34)

PRINT "SHE SAID "+Q$+"HELLO"+Q$+ " AND WAVED."

Will look like this...

SHE SAID "HELLO" AND WAVED.


gamer_12321 2020-02-22 16:52

Ok !


Log in to reply.