Computer Science Canada

putting quotation marks

Author:  rollerdude [ Wed Feb 21, 2007 1:43 pm ]
Post subject:  putting quotation marks

example put " he said "blah blah blah" "

how would i get it to do that without syntax errors? or any other errors for that matter?

Author:  bugzpodder [ Wed Feb 21, 2007 1:54 pm ]
Post subject:  RE:putting quotation marks

umm try

put "blah \" "
if that doesnt work, figure out the ord number of " and put it as a char.

Author:  HellblazerX [ Wed Feb 21, 2007 1:57 pm ]
Post subject:  Re: putting quotation marks

Use the chr () function, the ASCII value for " is 34.
Turing:
put "he said " + chr (34) + "blah blah blah" + chr(34)

Author:  ericfourfour [ Wed Feb 21, 2007 6:16 pm ]
Post subject:  RE:putting quotation marks

A list:

\\ = \
\" = "
\' = '
\t = tab
\n = newline

Use \". It is the simplest way.

Author:  rollerdude [ Thu Feb 22, 2007 2:35 pm ]
Post subject:  Re: putting quotation marks

thnx


: