SMath Studio Forum
»
SMath Studio
»
Questions
»
How can I put CRLF character directly into string?
Rank: Newbie
Groups: Registered
Joined: 24/02/2020(UTC) Posts: 5 Location: Krasnodar
|
Hi, everyone! Now I doing it like this: Is there another way to put break line into string? Edited by user 25 February 2020 22:59:50(UTC)
| Reason: Clarification
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Sorry AllexII: don't understand what you are trying to do in Smath ? You can probably split by additional condition.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
AFIU ... [As Far I Understand] You can insert descriptive text in conditional. Page37 AFIU.sm (8kb) downloaded 17 time(s).
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 24/02/2020(UTC) Posts: 5 Location: Krasnodar
|
I want to see result in 2 or more string. Is there any symbol of break line? "1st string 2nd string"
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/12/2011(UTC) Posts: 319 Location: italy Was thanked: 109 time(s) in 93 post(s)
|
The question is not very clear; if it is only a practical problem where the use of "stack" creates a very long line that comes out of the sheet, then simply use the structure of the matrix directly and insert the vector with as many lines as you want. sergio
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 24/02/2020(UTC) Posts: 5 Location: Krasnodar
|
The question is, can a string consist of two or more lines, if so - what does the line wrap symbol look like?
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: AlexIl The question is, can a string consist of two or more lines, if so - what does the line wrap symbol look like? Like this in the attached SS 6179 Page37 AFIU.sm (19kb) downloaded 12 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
put the cursor on right of "Not yet in orbit Kamarad !" press coma to add one line place holder to fill-in coma coma coma for 3 more
put the cursor on left of "Not yet in orbit Kamarad !" press coma to add one line place holder to fill-in coma coma coma for 3 more
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 21/10/2016(UTC) Posts: 84
Was thanked: 21 time(s) in 17 post(s)
|
I do it this way: To create the linefeed, I modified the smath sheet with an text editor I think (Don't remember exactly.) Code:
<input>
<e type="operand">\0040\CRLF</e>
<e type="operand" style="string">
</e>
<e type="operator" args="2">:</e>
</input>
Edited by user 25 February 2020 10:46:39(UTC)
| Reason: new screenshot
|
1 user thanked MarB for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 24/02/2020(UTC) Posts: 5 Location: Krasnodar
|
MarB, thank you! This is exactly what I want. Really has no one ever had this problem before?
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: AlexIl This is exactly what I want. Really has no one ever had this problem before? Many Smath users, like myself, stick to native Smath. Much easier to exchange documents, sanity Quality Control. You may have to check spooling to file ?
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jean Giraud Many Smath users, like myself, stick to native Smath. Much easier to exchange documents, sanity Quality Control. You may have to check spooling to file ?
Maybe, I don't understand what you are looking for. It works native Smath for my own end needs. The coding of spool to file should create the file in your system. Page37 AFIU spooled2file.sm (22kb) downloaded 20 time(s).
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 24/02/2020(UTC) Posts: 5 Location: Krasnodar
|
I would like to be able to enter the CRLF character directly when entering a string without functions "stack", "concat" or "sys". For example, when you press Ctrl + Shift + Enter. Page37 AFIU spooled2file.sm (21kb) downloaded 19 time(s).Edited by user 25 February 2020 22:55:28(UTC)
| Reason: Not specified
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: AlexIl I would like to be able to enter the CRLF character directly when entering a string without functions "stack", "concat" or "sys". For example, when you press Ctrl Shift Enter. Sorry Kamarad, I found no way to do. Hope Martin will catch and doctor.
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,652 Location: Italy Was thanked: 1339 time(s) in 878 post(s)
|
|
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jean Giraud I would like to be able to enter the CRLF character directly when entering a string without functions "stack", "concat" or "sys". For example, when you press Ctrl Shift Enter. Your coding works only on your transmitted document, i.e: does not work on a blank sheet SS 6179. As it looks, there is no key stroke to make same as ,\0040\CRLF, To insert the music symbol: 1. from Charmap Arial, select twice, highlight, copy 2. paste in free space, type 1 for instance for enabling the paste. Then backspace 1 to remove. Same thing, type 2 if you prefer.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jean Giraud ... more from Martin, long time ago. Bigger size for GrandMa !!!
|
1 user thanked Jean Giraud for this useful post.
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
How can I put CRLF character directly into string?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.