Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline AlexIl  
#1 Posted : 24 February 2020 17:16:26(UTC)
AlexIl

Rank: Newbie

Groups: Registered
Joined: 24/02/2020(UTC)
Posts: 5
Russian Federation
Location: Krasnodar

Hi, everyone!
Now I doing it like this:
Break_line.jpg
Is there another way to put break line into string?

Edited by user 25 February 2020 22:59:50(UTC)  | Reason: Clarification

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 24 February 2020 18:38:57(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

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.
Offline Jean Giraud  
#3 Posted : 24 February 2020 19:37:40(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

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).

Offline AlexIl  
#4 Posted : 24 February 2020 19:38:13(UTC)
AlexIl

Rank: Newbie

Groups: Registered
Joined: 24/02/2020(UTC)
Posts: 5
Russian Federation
Location: Krasnodar

I want to see result in 2 or more string. Is there any symbol of break line?
"1st string
2nd string"
Offline PompelmoTell  
#5 Posted : 24 February 2020 21:30:35(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 319
Man
Italy
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.
SMathStudio_Desktop_eHUgy7dvBH.png
sergio
Offline AlexIl  
#6 Posted : 24 February 2020 21:47:02(UTC)
AlexIl

Rank: Newbie

Groups: Registered
Joined: 24/02/2020(UTC)
Posts: 5
Russian Federation
Location: Krasnodar

The question is, can a string consist of two or more lines, if so - what does the line wrap symbol look like?
Offline Jean Giraud  
#7 Posted : 24 February 2020 23:06:39(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: AlexIl Go to Quoted Post
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

Alexii.PNG

Page37 AFIU.sm (19kb) downloaded 12 time(s).
Offline Jean Giraud  
#8 Posted : 24 February 2020 23:20:07(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

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
Offline MarB  
#9 Posted : 25 February 2020 10:36:52(UTC)
MarB


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:

CRLF.png

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

thanks 1 user thanked MarB for this useful post.
on 25/02/2020(UTC)
Offline AlexIl  
#10 Posted : 25 February 2020 12:11:24(UTC)
AlexIl

Rank: Newbie

Groups: Registered
Joined: 24/02/2020(UTC)
Posts: 5
Russian Federation
Location: Krasnodar

MarB, thank you! This is exactly what I want. Really has no one ever had this problem before?
Offline Jean Giraud  
#11 Posted : 25 February 2020 16:09:15(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: AlexIl Go to Quoted Post
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 ?

Offline Jean Giraud  
#12 Posted : 25 February 2020 16:59:03(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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).

Offline AlexIl  
#13 Posted : 25 February 2020 22:53:02(UTC)
AlexIl

Rank: Newbie

Groups: Registered
Joined: 24/02/2020(UTC)
Posts: 5
Russian Federation
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.
Stroka s perenosom.PNG
Page37 AFIU spooled2file.sm (21kb) downloaded 19 time(s).

Edited by user 25 February 2020 22:55:28(UTC)  | Reason: Not specified

Offline Jean Giraud  
#14 Posted : 26 February 2020 06:21:56(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: AlexIl Go to Quoted Post
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.
Offline Davide Carpi  
#15 Posted : 26 February 2020 15:35:30(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
appendLines.sm (5kb) downloaded 42 time(s).
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 26/02/2020(UTC)
Offline Jean Giraud  
#16 Posted : 26 February 2020 17:58:40(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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.

Alexii Code.PNG
Offline Jean Giraud  
#17 Posted : 27 February 2020 16:27:20(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
... more from Martin, long time ago.

2D Util Bar Fourier_Martin.sm (81kb) downloaded 21 time(s).
Offline Jean Giraud  
#18 Posted : 27 February 2020 16:50:19(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
... more from Martin, long time ago.

Bigger size for GrandMa !!!

GrandMa.PNG
thanks 1 user thanked Jean Giraud for this useful post.
on 27/02/2020(UTC)
Users browsing this topic
Guest
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.