RetroBASIC
Retrogamecoding(.org) => EGSL => Topic started by: GEEK on October 23, 2013, 12:32:12 PM
-
hi scriptwriters!
have a simple question here, how do you store
a newline or return (cr or lf) character in a variable
and print it down?
I tried "\n" and chr(10) but nope...
help please?
-
This does not work with EGSL output on graphical windows. Only for the console, like this (you'd better use CLScript for that):
print ("Hello"..chr(13).."World")
or like this:
print ("Hello\nWorld")
Be aware that EGSL is limited on the text output and input since it's meant for 2D games not text processors. ;)