Posts: 2
Threads: 1
Joined: Nov 2005
Hello,
I Really need some help. I need to print from a Qbasic program a line of test in quotation marks like:
"Hello"
You cannot put double quotes in a PRINT line. How do I get the line to print out with Quotation marks.
Please Help
A Newbie
Posts: 235
Threads: 30
Joined: Jun 2002
well you could do 2 single quotes like this
Code:
Print " ' ' Hello ' ' "
or you could use actual double quotes by using the ascii code 34 like
Code:
Print CHR$(34) + "Hello" + CHR$(34)
url=http://www.smithcosoft.com]SmithcoSoft Creations[/url]
"If you make it idiot proof, someone will make a better idiot" - Murphy's Law
Posts: 2
Threads: 1
Joined: Nov 2005
Thank you SSC. It's an obvious answer but you know it was one of thoes days.
Posts: 843
Threads: 60
Joined: Mar 2003
I completely understand man. I had one of those days once.
Posts: 719
Threads: 72
Joined: Mar 2003
Quote:I completely understand man. I had one of those days once.
speedlemon, you are one of those days
you know i think you're awsome, so don't take offense at that one :bounce:
Oz~
Posts: 488
Threads: 19
Joined: Sep 2005
nice idea SSC, it helps me out too, in RPG im makin, the NPC's talk and i need quatations around them