Hello everyone
is there anyway to fold a long line of code inside a Calculation icon?
(this is to reduce the width of the code on the screen)
Maybe Something like this!
is there anyway to fold the long line of code inside Calculation icon
-
- Posts: 26
- http://meble-kuchenne.info.pl
- Joined: Tue Jan 26, 2021 6:10 am
- Has thanked: 32 times
- Been thanked: 1 time
-
- Matrix Staff
- Posts: 1465
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 347 times
Re: is there anyway to fold the long line of code inside Calculation icon
There is a setting in the Global Options that can control this to some extent. This is "limit annotation size for new icons" under the "Flowchart" tab.
However, this only works for newly created flowchart icons.
This setting controls a hidden property of each icon called "textarea". You could change this manually for any icons by directly editing the project fcfx file in a text editor. Of course, if you do this then be careful - make a backup of the file and change only the specific entry.
The attached project shows what I mean. It has 3 icons. The first was added when the annotation size limit is off and the second was added when the limit is on. The third is one where I have manually added the "textarea" for the icon within the project file.
However, this only works for newly created flowchart icons.
This setting controls a hidden property of each icon called "textarea". You could change this manually for any icons by directly editing the project fcfx file in a text editor. Of course, if you do this then be careful - make a backup of the file and change only the specific entry.
The attached project shows what I mean. It has 3 icons. The first was added when the annotation size limit is off and the second was added when the limit is on. The third is one where I have manually added the "textarea" for the icon within the project file.
- Attachments
-
- long var name limits.fcfx
- (7.92 KiB) Downloaded 226 times
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: is there anyway to fold the long line of code inside Calculation icon
Hi S_VE
I also had to use a long formula. I then made an array P[] with float and added it up like this:
I also had to use a long formula. I then made an array P[] with float and added it up like this: