If you want to delete a variable, you need to find where each variable is place then delete each occurrence, before Variable can be deleted.
Can there be an option, when you delete a variable to tick a box which will enable all the occurrences to be remove.
So you don't keep getting 'Cannot delete this variable because it is used...' etc
Expaning the deleting, How about an option to allow you to select multiple variable's to delete as well
Although the Find/search option will come in vary handy for deleting also.
Martin
Deleting Variables.
Moderator: Benj
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Deleting Variables.
Thanks Steve.Steve wrote:We have a number of new features coming in V5 that will make this easier.
V5 sounds fantastic!
Can't wait to see the full list of improvements.
Martin
Martin
-
- Posts: 29
- Joined: Thu Jan 14, 2010 10:43 pm
- Has thanked: 3 times
Re: Deleting Variables.
Another problem with the deletion of variables is that even when you have removed all blatant references to the variable within icons and therefore satisfied the requirements of the nag box, it is still possible for references to the variable to remain as parameters to functions with no warning.
If such a parameter refers to a now 'sucessfully deleted variable', the net result is the dreaded failure message when attempting to compile, with no hint as to where the problem lies.
Would it be possible to extend the variable deletion warning scheme to search within function parameter lists for undeclared variables and generate a warning of remaining instances.
If such a parameter refers to a now 'sucessfully deleted variable', the net result is the dreaded failure message when attempting to compile, with no hint as to where the problem lies.
Would it be possible to extend the variable deletion warning scheme to search within function parameter lists for undeclared variables and generate a warning of remaining instances.
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Deleting Variables.
With reference to deleting variables:
I believe It's a good idea to label every icon 'Display Name' e.g Input 1, Input 2, Decision 1, Decision 2, Calculation 1 Etc. as your creating your flowchart
Then if creating a large program and deleting variable, then the warning message will display:
I believe It's a good idea to label every icon 'Display Name' e.g Input 1, Input 2, Decision 1, Decision 2, Calculation 1 Etc. as your creating your flowchart
Then if creating a large program and deleting variable, then the warning message will display:
Martin
- 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: Deleting Variables.
Hello. In v5 there will be much more checking and association with icons both before and during code generation, so even if problems like this do slip through, it should be easy enough to find them as Flowcode will (hopefully) know which icon(s) caused the error. Until then yeah, I think its a good idea to give each icon a unique name.
Cheers,
Jonny
Cheers,
Jonny
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Deleting Variables.
Would it be useful suggestion for V5 to have automatically generated unique number every time a new component macro is used. E.g. if added Calculation 1, then if drag, ore paste another, then Calculation 2 could be generated?
Martin