123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|574|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> CHR$(10)+CHR$(13)

Sun, 06 Jan 2013, 15:57
dna
Hey,

There's a small issue with displaying the chr$(10)+chr$(13) in either text mode or graphics mode.



one displays it correctly and the other does not why is that happening?


-=-=-
DNA
Sun, 06 Jan 2013, 16:13
Jayenkai
Text mode uses windows GUI functionality, which obeys newline stuff.
Graphics mode uses Blitz text drawing functionality, which doesn't.

-=-=-
''Load, Next List!''
Sun, 06 Jan 2013, 17:41
dna
What I was trying to do was to append the string and insert the newline. This:


using the print command works. I'll have to use a different method then. Some special character maybe.

-=-=-
DNA
Sun, 06 Jan 2013, 18:38
CodersRule
You should be using 13 BEFORE 10, because 13 represents the carriage return and 10 represents the newline (\r\n). Looks like that doesn't matter, though.

I'm running your second code (using Print) in B3D and newlines still aren't functioning (including after I've swapped around the Chr() calls). I'm not sure why not.
Sun, 06 Jan 2013, 19:28
dna
Did you try using it commenting out the GRAPHICS 640,480 statement?
It works differently when doing that.


-=-=-
DNA
Mon, 07 Jan 2013, 22:11
dna
I see that I can still format the output since the codes remain inside the file. they do not print or display as desired but that can be compensated for after reading the line.


-=-=-
DNA