|
Pauley Beginner
Joined: 17 May 2024 Posts: 17
|
Posted: Sun Aug 18, 2024 2:39 pm
adding linebreaks to #ECHO commands? |
Hi.
Is there a way of adding linebreaks when using the #ECHO command? Here's what I'd like:
Code: |
#ECHO *linebreak* text text text blah blah |
The way I found that does this is to add an additional #ECHO " " before my #ECHO with the text I want displayed, and in this way force the insertion of a blank space (and consequently also a linebreak)
This approach is lengthy and inelegant. Is there some kind of escape character or somesuch mechanism that forces a linebreak inside the text output field of the #ECHO command? |
|
|
|
Tarn GURU
Joined: 10 Oct 2000 Posts: 873 Location: USA
|
Posted: Sun Aug 18, 2024 9:36 pm |
Is something like
#echo foo %crlf bar
what you want?
To avoid a space before "bar" on the new line, you could use %concat |
|
|
|
Pauley Beginner
Joined: 17 May 2024 Posts: 17
|
Posted: Wed Aug 21, 2024 2:50 pm |
Tarn wrote: |
Is something like
#echo foo %crlf bar
what you want?
To avoid a space before "bar" on the new line, you could use %concat |
That appears to be it, thank you :) |
|
|
|
|
|