[QUESTION] "internal string table"
|
12-09-2016, 09:43 PM
(This post was last modified: 12-09-2016 09:44 PM by Han.)
Post: #7
|
|||
|
|||
RE: [QUESTION] "internal string table"
As I already explained, the HP screen shows strings as a single line since newlines are suppressed. It doesn't mean that there was any bug in the variable str. However, since you are copying the result from the display stack, you are copying the display version of your string variable and not the actual contents. You can check for yourself.
1. Make str an exported variable instead of a local variable. 2. In the Home view, type str and press enter. Your string will not show the newlines. Copying this to the command confirms this. 3. However, the str variable itself contains the newlines. Just type str(1) and it returns 10, the character number of the newline character. And type in char(str(2)) and you will see the next characters of the text saved in str. EDIT: Didier has offered a perfectly fine example of how to extract the contents of your str variable for copying. It basically saves it as a note, found by pressing [Shift] [0] Graph 3D | QPI | SolveSys |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
[QUESTION] "internal string table" - compsystems - 12-07-2016, 01:48 PM
RE: [QUESTION] "internal string table" - StephenG1CMZ - 12-07-2016, 05:46 PM
RE: [QUESTION] "internal string table" - compsystems - 12-07-2016, 09:24 PM
RE: [QUESTION] "internal string table" - Han - 12-07-2016, 09:43 PM
RE: [QUESTION] "internal string table" - Didier Lachieze - 12-07-2016, 09:59 PM
RE: [QUESTION] "internal string table" - compsystems - 12-09-2016, 01:21 PM
RE: [QUESTION] "internal string table" - Han - 12-09-2016 09:43 PM
RE: [QUESTION] "internal string table" - Carlos295pz - 04-19-2017, 01:56 PM
|
User(s) browsing this thread: 2 Guest(s)