" " t o a text file

Blitz3D Forums/Blitz3D Programming/" " t o a text file

jigga619(Posted 2003) [#1]
I am working on a program in which I write information to a text file that is created in the program. My problem is I want to write

"brick.bmp";

0n one line. However, what blitz3d writes to the text file is
brick.bmp


How do I get it to write "brick.bmp";

Try this example

;;;

;;;
Graphics3D 800,600


While Not KeyDown(1)


UpdateWorld
RenderWorld


Text 300,300, "brick.bmp"

Flip
Wend
End


Codemonger(Posted 2003) [#2]
use this function:

Chr$ (integer)

and substitue integer with the ascii value for whatever character you want ...

ie:

text 300,300, chr$(34) & "brick.bmp" & chr$(34)


skn3(Posted 2003) [#3]
http://www.asciitable.com