How can I put CRLF character directly into string?

How can I put CRLF character directly into string? - Сообщения

#1 Опубликовано: 24.02.2020 11:16:26
Alex Iletkin

Alex Iletkin

0 сообщений из 5 понравились пользователям.

Группа: User

Hi, everyone!
Now I doing it like this:
Break_line.jpg
Is there another way to put break line into string?
#2 Опубликовано: 24.02.2020 12:38:57
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Sorry AllexII: don't understand what you are trying to do in Smath ?
You can probably split by additional condition.
#3 Опубликовано: 24.02.2020 13:37:40
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

AFIU ... [As Far I Understand]
You can insert descriptive text in conditional.

Page37 AFIU.sm (7 КиБ) скачан 39 раз(а).

#4 Опубликовано: 24.02.2020 13:38:13
Alex Iletkin

Alex Iletkin

0 сообщений из 5 понравились пользователям.

Группа: User

I want to see result in 2 or more string. Is there any symbol of break line?
"1st string
2nd string"
#5 Опубликовано: 24.02.2020 15:30:35
sergio

sergio

115 сообщений из 329 понравились пользователям.

Группа: User

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
#6 Опубликовано: 24.02.2020 15:47:02
Alex Iletkin

Alex Iletkin

0 сообщений из 5 понравились пользователям.

Группа: User

The question is, can a string consist of two or more lines, if so - what does the line wrap symbol look like?
#7 Опубликовано: 24.02.2020 17:06:39
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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 (18 КиБ) скачан 30 раз(а).
#8 Опубликовано: 24.02.2020 17:20:07
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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
#9 Опубликовано: 25.02.2020 04:36:52
Martin_B

Martin_B

21 сообщений из 84 понравились пользователям.

Группа: User

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


        <input>
          <e type="operand">\0040\CRLF</e>
          <e type="operand" style="string">
</e>
          <e type="operator" args="2">:</e>
        </input>
1 пользователям понравился этот пост
sergio 25.02.2020 09:03:00
#10 Опубликовано: 25.02.2020 06:11:24
Alex Iletkin

Alex Iletkin

0 сообщений из 5 понравились пользователям.

Группа: User

MarB, thank you! This is exactly what I want. Really has no one ever had this problem before?
#11 Опубликовано: 25.02.2020 10:09:15
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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 ?

#12 Опубликовано: 25.02.2020 10:59:03
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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 (21 КиБ) скачан 45 раз(а).

#13 Опубликовано: 25.02.2020 16:53:02
Alex Iletkin

Alex Iletkin

0 сообщений из 5 понравились пользователям.

Группа: User

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 (20 КиБ) скачан 43 раз(а).
#14 Опубликовано: 26.02.2020 00:21:56
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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.
#15 Опубликовано: 26.02.2020 09:35:30
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: Moderator

appendLines.sm (4 КиБ) скачан 60 раз(а).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
sergio 26.02.2020 11:20:00
#16 Опубликовано: 26.02.2020 11:58:40
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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
#17 Опубликовано: 27.02.2020 10:27:20
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... more from Martin, long time ago.

2D Util Bar Fourier_Martin.sm (80 КиБ) скачан 42 раз(а).
#18 Опубликовано: 27.02.2020 10:50:19
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

... more from Martin, long time ago.


Bigger size for GrandMa !!!

GrandMa.PNG
1 пользователям понравился этот пост
sergio 27.02.2020 11:24:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений