insert and deleting lines

insert and deleting lines - Messages

#1 Posted: 12/18/2016 11:40:22 PM
zoom

zoom

2 likes in 7 posts.

Group: 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 Posted: 12/19/2016 1:04:46 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 12/19/2016 9:09:46 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 169 time(s).

1 users liked this post
sergio 9/6/2017 7:19:00 AM
#4 Posted: 12/4/2017 12:33:23 PM
MBe

MBe

2 likes in 21 posts.

Group: 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 Posted: 12/5/2017 5:50:22 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: 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 not found. File not found.

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 not found. File not found.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
frapuano 12/5/2017 7:04:00 AM
#6 Posted: 12/5/2017 6:31:07 AM
MBe

MBe

2 likes in 21 posts.

Group: User

Fantastic!
Thank you so much Davide.
#7 Posted: 12/5/2017 9:37:59 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

inserting and deleting



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

Add_Delete.PNG
#8 Posted: 12/5/2017 2:08:39 PM
MBe

MBe

2 likes in 21 posts.

Group: User

This also is a very good hint.

Thx!
#9 Posted: 3/4/2018 1:13:50 PM
Claudio Cattaneo

Claudio Cattaneo

0 likes in 3 posts.

Group: 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 Posted: 3/4/2018 2:00:06 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: 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 Posted: 3/4/2018 4:58:14 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Plot discontinuous function w/o "if_otherwise"

if_otherwise.PNG
#12 Posted: 3/5/2018 11:52:54 PM
CBG

CBG

77 likes in 312 posts.

Group: User

Hello Jean:

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


No_match.png


Best Regards

Carlos
#13 Posted: 3/6/2018 9:50:07 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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

  • New Posts New Posts
  • No New Posts No New Posts