Post Reply 
[QUESTION] "internal string table"
12-07-2016, 09:43 PM
Post: #4
RE: [QUESTION] "internal string table"
(12-07-2016 09:24 PM)compsystems Wrote:  Thanks, I want to create an output string where each line can be displayed independently, it seems that CAR (10) "\n" does not do what I want when copy in a text editoras notepad++

It seems print("1\n2") prints two lines just fine on my setup. Also, print("1" + char(10) + "2") also works. Creating a string: str:="1" + CHAR(10) + "2" also works (copy the string from the stack and it appears in the command line as "1\n2"). On the calculator display, however, you won't see a newline character as strings are just printed as a single horizontal line of (visible) characters. In the HP48 calculators, CHAR(10) is just displayed as a black square inside a string. I believe on the Prime, it is suppressed.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [QUESTION] "internal string table" - Han - 12-07-2016 09:43 PM



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