Post Reply 
var1:="hello\n\tworld"
06-22-2021, 10:26 AM
Post: #3
RE: var1:="hello\n\tworld"
(06-22-2021 02:32 AM)Liamtoh Resu Wrote:  I am trying to understand the nature of the problem.

I put together this small program to help me comprehend it.

Code:

EXPORT hellon()
BEGIN
print;
local var1;
var1 := "hello" + "\n" + "\t" + "world";
print(var1);
END;

The output looks cleaner without the "\t" substring.

Thanks.

When you print the value of var1, it should either print the \n or it should print a linefeed. It does neither. It prints a little square.

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
var1:="hello\n\tworld" - compsystems - 06-21-2021, 09:18 PM
RE: var1:="hello\n\tworld" - Liamtoh Resu - 06-22-2021, 02:32 AM
RE: var1:="hello\n\tworld" - toml_12953 - 06-22-2021 10:26 AM
RE: var1:="hello\n\tworld" - Liamtoh Resu - 06-23-2021, 01:13 AM
RE: var1:="hello\n\tworld" - compsystems - 06-23-2021, 02:33 AM



User(s) browsing this thread: 1 Guest(s)