insert and deleting lines

insert and deleting lines - Messaggi

#1 Pubblicato: 18/12/2016 23:40:22
zoom

zoom

2 apprezzamenti in 7 post.

Gruppo: User

I use onenote and mathcad. they both have a fairly quick way to insert / delete multiple empty lines. i think a similar feature could be useful.
#2 Pubblicato: 19/12/2016 01:04:46
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

I use onenote and mathcad. they both have a fairly quick way to insert / delete multiple empty lines. i think a similar feature could be useful.



We have that in Smath as an auxilliary module.
Please let me check in the latest 6179.

Jean

#3 Pubblicato: 19/12/2016 09:09:46
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

I use onenote and mathcad. they both have a fairly quick way to insert / delete multiple empty lines. i think a similar feature could be useful.



The latest Mathcad version I used, didn't have built-in insert/delete cols/rows.
We did it via auxilliary modules. You will find near the bottom of the page of
the attached "Matrix treasury.sm". Was created 5346, works fine 6179 [100%].

Cheers, Jean

Utilities Matrix Treasury Copy.sm (330,51 KiB) scaricato 1644 volta(e).

1 utenti hanno apprezzato questo post
sergio 06/09/2017 07:19:00
#4 Pubblicato: 04/12/2017 12:33:23
MBe

MBe

2 apprezzamenti in 21 post.

Gruppo: User

Thanks for the very useful collection of matrix functions.
But I still have a question regarding inserting and deleting lines in programming functions.
Sometimes while editing long function definitions, I would like to insert/delete a placeholder, but I couldn't yet find how to do it.
Anybody can help?

Thanks
Marco
#5 Pubblicato: 05/12/2017 05:50:22
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: Moderator

Wrote

Thanks for the very useful collection of matrix functions.
But I still have a question regarding inserting and deleting lines in programming functions.
Sometimes while editing long function definitions, I would like to insert/delete a placeholder, but I couldn't yet find how to do it.
Anybody can help?

Thanks
Marco



Hello Marco,

you can add arguments with the argument separator key "," or ";" (depending on the settings of your SMath Studio. The argument is added before the one in which you are if the text cursor is at the begin of the content, at the opposite is added after that argument if you are at the end of the content. You are at the begin or at the end of the content when the horizontal line of the text cursor covers the whole argument
insert_arg_1.gif
File non trovato. File non trovato.

To delete an argument, you have to delete the content and then when you have an empty placeholder you can delete the argument.
To select the content of the argument with keyboard inputs move the cursor at the begin or at the end of the argument by using the left arrow (if you are at the begin) or the right arrow (if you are at the end) up to when the horizontal line below covers the whole content; then press SHIFT + the opposite arrow to make a selection and the backspace key to delete the content. Press backspace again to delete the empty placeholder.
File non trovato. File non trovato.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 utenti hanno apprezzato questo post
frapuano 05/12/2017 07:04:00
#6 Pubblicato: 05/12/2017 06:31:07
MBe

MBe

2 apprezzamenti in 21 post.

Gruppo: User

Fantastic!
Thank you so much Davide.
#7 Pubblicato: 05/12/2017 09:37:59
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

inserting and deleting



Add/Delete components in vectors ... like this.

Add_Delete.PNG
#8 Pubblicato: 05/12/2017 14:08:39
MBe

MBe

2 apprezzamenti in 21 post.

Gruppo: User

This also is a very good hint.

Thx!
#9 Pubblicato: 04/03/2018 13:13:50
Claudio Cattaneo

Claudio Cattaneo

0 apprezzamenti in 3 post.

Gruppo: User

On 2018 March 01 , Davide Carpi suggested to me the use of the function named "cases" , available in the fx-function / Programming
cases_function.png
... but he forgot to explain me in what way I can insert other lines between the first (upper) and the second (lower) statement
I am using SMath Studio Desktop 64-bit for Windows Version 0.99 build 6622 ;
I tried in many ways , but I could not do it .
I am certainly not a "magician" ... and it's the first time I write a post
Thanks in advanxe to Davide ...

#10 Pubblicato: 04/03/2018 14:00:06
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: Moderator

Wrote

On 2018 March 01 , Davide Carpi suggested to me the use of the function named "cases" , available in the fx-function / Programming
cases_function.png
... but he forgot to explain me in what way I can insert other lines between the first (upper) and the second (lower) statement
I am using SMath Studio Desktop 64-bit for Windows Version 0.99 build 6622 ;
I tried in many ways , but I could not do it .
I am certainly not a "magician" ... and it's the first time I write a post
Thanks in advanxe to Davide ...



My fault, sorry. You have to use the argument separator character like inside the line() function

This function however needs an odd number of arguments, therefore you have to type it twice (f.e. type comma and comma again); same for deleting, you have to use the backspace two times.

cases.gif
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#11 Pubblicato: 04/03/2018 16:58:14
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Plot discontinuous function w/o "if_otherwise"

if_otherwise.PNG
#12 Pubblicato: 05/03/2018 23:52:54
CBG

CBG

78 apprezzamenti in 312 post.

Gruppo: User

Hello Jean:

A few modifications to your file "Utilities Matrix Treasury Copy.sm"


No_match.png


Best Regards

Carlos
#13 Pubblicato: 06/03/2018 09:50:07
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Hello Jean:

A few modifications to your file "Utilities Matrix Treasury Copy.sm"



Thanks Carlos,

This "Treasury" needs be revamped.
Updated as suggested ... nice !
There is lot more for another Treasury.

Jean

  • Nuovi post
  • Nessun nuovo post