
-----------------------------------
Scott832
Tue Apr 22, 2003 4:58 pm

Outputting quotation marks
-----------------------------------
How do you output quotation marks using Font.Draw and put?

For example: how would I output the text put "hello" (with the quotation marks)?

-----------------------------------
Blade
Tue Apr 22, 2003 5:43 pm


-----------------------------------
you have to use single quotes

-----------------------------------
Scott832
Tue Apr 22, 2003 5:49 pm


-----------------------------------
do you mean I have to write it like this?

put "''hello''"

-----------------------------------
Catalyst
Tue Apr 22, 2003 5:56 pm


-----------------------------------
you can put a \ before the quotes and it will work

for ex.


put "\"hello\""


-----------------------------------
Scott832
Tue Apr 22, 2003 5:58 pm


-----------------------------------
nevermind.  I found another way.

You can either use your way (which works fine and I appreciate the help) or you can use a slash before the quotation marks you want to be outputted.

example: put "\"hi\""

works the same way with Font.Draw

-----------------------------------
Scott832
Tue Apr 22, 2003 5:59 pm


-----------------------------------
oops, guess someone else posted while I was typing my last message.

-----------------------------------
Asok
Tue Apr 22, 2003 6:03 pm


-----------------------------------
using put you can do something similar by using 2 ' instead of "

put "''Who Goes There?''" 

or you can use the ASCII value of "" via chr() function in this case it'd be put chr(34)

put chr(34), "Who Goes There", chr(34)

this works also for Font.Draw

enjoy :)

-----------------------------------
Asok
Tue Apr 22, 2003 6:11 pm


-----------------------------------
ASCII OWNS \

USE TEH ASCII!!
