split line command "..."

split line command "..." - Messages

#1 Posted: 3/28/2021 1:56:33 AM
churichuro

churichuro

28 likes in 79 posts.

Group: User

Is it possible to enable a new operator "..."
whose function is to allow dividing
long expressions between several lines?

like this:


some_var := arg1 operator arg2 operador ...
arg3 operador arg4 etc.

x.1 := 2 + 3 + 4 ...
+ 5 + 6

x.1 = 20

Currently you can do something similar with the
key combination ctrl + Enter but it is a bit limited



I think this could be very useful, especially in the new document mode
#2 Posted: 3/28/2021 5:58:00 AM
fedeghi

fedeghi

25 likes in 112 posts.

Group: User

Already available, use SHIFT+Enter in the position where you want to split the line
#3 Posted: 3/28/2021 9:08:36 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Is it possible to enable a new operator "..."
whose function is to allow dividing
long expressions between several lines ?


You mean: Mathcad style ?
Was rarely used, just to recollect a long symbolic result.
Not so much useful ... explain:
the "..." is a keystroke, thus the split does not update.
In lieu, the maple(op(,)), as applicable, is more convenient at no risk.
It updates following the user command from upstream the project.
As well, it updates the the result that you may have spooled to file.
Visit Samples Beam Analysis few days ago.

Jean
#4 Posted: 3/28/2021 9:19:04 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... demo example.

Page3 Maple(op).sm (12 KiB) downloaded 72 time(s).
1 users liked this post
churichuro 3/28/2021 11:38:00 AM
#5 Posted: 3/28/2021 11:58:34 AM
churichuro

churichuro

28 likes in 79 posts.

Group: User

thanks fedeghi but...

Yes, I know, but only one division of the line is allowed, but "..."
in the form of an operator could be used as many times as you want
on the same line
currently if at the point you want to divide your expression is between parentheses "(" it won't work

try with this:

z:=(3+5-8*60-32) you can't

thank Jean, very good about maple and collect

operator "..." for this will be great!
#6 Posted: 3/28/2021 4:13:39 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

operator "..." for this will be great!


Attach the complete document to try something.
Jean
  • New Posts New Posts
  • No New Posts No New Posts