Post Reply 
newline not parsed in strings [Android]
09-04-2015, 07:01 PM
Post: #3
RE: newline not parsed in strings [Android]
This appears to work too:
Code:

LOCAL LF:=CHAR(10);
PRINT("a"+LF+"b");
Which would be more useful if you wanted a variable number of lines.
LF is the line feed character, but it actually has the effect of a Carriage Return too within the PRINT.

SO
(1) why doesn't \n newline?
(2) what if I actually wanted just a line feed? So that B is positioned after A but 1 line down, rather than 1 line down and to the left.

Stephen Lewkowicz (G1CMZ)
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newline not parsed in strings [Android] - StephenG1CMZ - 09-04-2015 07:01 PM



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