Comments and Strings

Moderator: Benj

Post Reply
dbasnett
Posts: 125
Joined: Mon Aug 15, 2011 1:54 pm
Has thanked: 8 times
Been thanked: 11 times
Contact:

Comments and Strings

Post by dbasnett »

Would it be possible to 'comment' out an icon? As it is now I have to delete the icon(calculation, io, if) to test what if's. In other languages commenting is a common feature.

Strings - As a newbie I am finding that working with strings can be painful when the received data(RS232) contain bytes with a value of 0.

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: Comments and Strings

Post by JohnCrow »

Hi

Its not possible to comment out an icon in FC, though that is a good idea :D
I can suggest two ways of getting round this, apart from deleting it.

1. You could use the jump to / connection point either side of the icon or part of flowchart you wish to remove.

2. If your flowchart finishes with a loop icon, you could always drag the icon you want to ignore to between the last loop icon and the end icon.

Both are "messy" but if only used when developing a program, shouldn't be too much of a problem.
1 in 10 people understand binary, the other one doesn't !

dbasnett
Posts: 125
Joined: Mon Aug 15, 2011 1:54 pm
Has thanked: 8 times
Been thanked: 11 times
Contact:

Re: Comments and Strings

Post by dbasnett »

I hadn't thought of the connection icon, the go around method. I'll remember that if the Matrix folks don't add a 'Comment' feature. BTW - I like your compass.

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Comments and Strings

Post by DavidA »

A "comment out" feature might work well, sort of disables that icon, will mention it!

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: Comments and Strings

Post by JonnyW »

Hi there. We have been toying with a couple of possibilities since this was suggested and it works quite well! I doubt you will need to use a goto icon in FC5. Thanks for the suggestion.

Jonny

Spanish_dude
Posts: 594
Joined: Thu Sep 17, 2009 7:52 am
Location: Belgium
Has thanked: 63 times
Been thanked: 102 times
Contact:

Re: Comments and Strings

Post by Spanish_dude »

I don't know how you did it, but you could do it for multiple icons at once, like when you select an icon or a group of icons and then left clicking you'll see a disable icon(s) option ?

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: Comments and Strings

Post by JonnyW »

Hi Nicolas. Yeah, thats the idea. The final version would hopefully work similar to the screenshot. This shows the menu item and some disabled icons too.
Disabled icons
Disabled icons
disabled.jpg (30.28 KiB) Viewed 11115 times
Jonny

dbasnett
Posts: 125
Joined: Mon Aug 15, 2011 1:54 pm
Has thanked: 8 times
Been thanked: 11 times
Contact:

Re: Comments and Strings

Post by dbasnett »

That is exactly what I was thinking.

Post Reply