I've never ran into this till now, but how DO you declare a string and initialize its value with a string containing quotation marks?

I'm sure this is a simple thing but I've never seen or used anything like that before.
Posted on 2001-08-12 01:21:26 by Will
Do something like this:
String db 'String " String'
or...
String db "String ",22h," String"
Posted on 2001-08-12 02:16:18 by Soul~Drudge
Afternoon, 4oh4.

If you want to display a (") then surround your declaration using (')s:
e.g. szFrameRate db 'Framerate "fps":',0

If you want to display a (') then surround your declaration using (")s:
e.g. szFrameRate db "Framerate 'fps':",0

... or use a combination:
e.g. szFrameRate db " 'Framerate' ",' "fps":',0

Cheers,
Scronty
Posted on 2001-08-12 02:24:57 by Scronty
damn

It's almost 4am so I don't feel quite so bad, but how come I didn't think to use the ascii value of the quote?

I could have sworn that I tried that Scronty, but that works too! That confirms it......time for bed.
Posted on 2001-08-12 02:53:39 by Will