In Ac800M CBM I have created library objects. Is there a way to find out unused variables?
I have created Control module type objects where I have declared variables for calculations. How do I find which of these variables are unused in the editor.
Is there a BDM way to pull all those variables?
Voted best answer
> "Is there a BDM way to pull all those variables?" - No. BDM cannot read the source code.
>"How do I find which of these variables are unused in the editor" - Open the editor and Search for each variable using the "Find All" option in the menu to find where the variable is used inside your code.
After you have removed any unused variables, run a consistency check on the object to ensure you didnt remove something that is used in another aspect, eg. a graphic element.
There isnt really a good way to find unused variables in your code. The best advice I can give you is allways keep your code tidy as you go rather than tidy up at the end of development.
Add new comment