|
Post by kirkkaf on Dec 16, 2010 7:33:32 GMT -5
Hi everyone,
Please move this thread if I have posted in the wrong section.
I would like to request the use of "escape sequences" so instead of having to use an empty print statement to make a new line you can use "\n".
For example:
print "Hello\nWorld"
Would display this:
Hello World
There are other useful ones like \t to insert a tab space.
(unless this is possible in html I wouldn't know as I have never used it.)
Regards, Kirk.
|
|
|
Post by kirkkaf on Dec 16, 2010 19:54:22 GMT -5
Hi davos1,
You are right it wouldn't be basic no more, I have fount away around my problem anyway using the built in html which allows me to use <br> to break a string on multiply lines. (pretty much the same as what I requested)
Thanks for taking your time to replying.
Kirk.
|
|
|
Post by Mystic on Feb 3, 2011 12:59:29 GMT -5
Hi davos1, You are right it wouldn't be basic no more, I have fount away around my problem anyway using the built in html which allows me to use <br> to break a string on multiply lines. (pretty much the same as what I requested) Can you show a short line description of how you're doing this?
|
|
|
Post by StefanPendl on Feb 5, 2011 3:40:25 GMT -5
There are two ways to specify a new-line character.
' the BASIC way print "Hello"; chr$(13); "World"
print
' the HTML way html "Hello<br/>World"
|
|