| Computer Science Canada Outputting quotation marks | 
| Author: | Scott832 [ Tue Apr 22, 2003 4:58 pm ] | 
| Post subject: | 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)? | |
| Author: | Blade [ Tue Apr 22, 2003 5:43 pm ] | 
| Post subject: | |
| you have to use single quotes | |
| Author: | Scott832 [ Tue Apr 22, 2003 5:49 pm ] | 
| Post subject: | |
| do you mean I have to write it like this? put "''hello''" | |
| Author: | Catalyst [ Tue Apr 22, 2003 5:56 pm ] | ||
| Post subject: | |||
| you can put a \ before the quotes and it will work for ex. 
 | |||
| Author: | Scott832 [ Tue Apr 22, 2003 5:58 pm ] | 
| Post subject: | |
| 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 | |
| Author: | Scott832 [ Tue Apr 22, 2003 5:59 pm ] | 
| Post subject: | |
| oops, guess someone else posted while I was typing my last message. | |
| Author: | Asok [ Tue Apr 22, 2003 6:03 pm ] | ||||
| Post subject: | |||||
| using put you can do something similar by using 2 ' instead of " 
 or you can use the ASCII value of "" via chr() function in this case it'd be put chr(34) 
 this works also for Font.Draw enjoy  | |||||
| Author: | Asok [ Tue Apr 22, 2003 6:11 pm ] | 
| Post subject: | |
| ASCII OWNS \ USE TEH ASCII!! | |