escape charactors for Blitz strings?
Blitz3D Forums/Blitz3D Programming/escape charactors for Blitz strings?
| ||
Hey, Do you guys know what the escape charactors are that will allow me to print quotes within a sting in blitz? |
| ||
print "like this: " + chr$(34) + " ??" If so, then you need an ascii table. |
| ||
That's it! Thanks a bunch! |
| ||
I tried this and it doesn't work for a newline or a tab. instead it spits out this funky looking E thing. Anyway to tell it to insert a tab or a new line (other than giving the print command a void string)? |
| ||
A newline on windows is CHR(10)+chr(13) not a single one. and no, there are no escape characters in Blitz3D, use an ascii table and CHR |
| ||
Newline etc don't work for the Text command. |
| ||
Adding ANSI to Blitz3D is not impossible. I have written an ANSI parser myself, but I also wrote a 2D on 3D textmode to go with it. So it's a lot of hard work. |
| ||
I just can't seem to get it working. this prints{ line 1 = EE line 2 = EE } but weird looking E's. No newlines other than those added automatically by the print. I don't need a complete ANSI thing. The only thing I need to be able to do is write "\n" escape sequence say into a bank or file when poking/writing stuff into them one byte at a time. Been trying to solve this on my own awhile. Any solutions? thx in advance. |