Robert Valentino Well-Known Member Licensed User Longtime User Sep 6, 2021 #1 I've searched the best I can and could not locate anything. Is there a way to scan my project for any functions (that I've written not in libraries) that aren't being called or used? My project is 6+ years old now and I am sure there may be some code that isn't being used any more. I'm guessing the answer is to write a B4J program to suck out all the sub lines and product a list and then search the code for the list Just hoping someone has already done this. BobVal
I've searched the best I can and could not locate anything. Is there a way to scan my project for any functions (that I've written not in libraries) that aren't being called or used? My project is 6+ years old now and I am sure there may be some code that isn't being used any more. I'm guessing the answer is to write a B4J program to suck out all the sub lines and product a list and then search the code for the list Just hoping someone has already done this. BobVal
aeric Expert Licensed User Longtime User Sep 6, 2021 #2 You will get a warning in Logs if the function is not used. B4X: Sub 'MyVeryUsefulSub' is not used. (warning #12) Except for function declared as Public in code modules. Upvote 2
You will get a warning in Logs if the function is not used. B4X: Sub 'MyVeryUsefulSub' is not used. (warning #12) Except for function declared as Public in code modules.
Robert Valentino Well-Known Member Licensed User Longtime User Sep 6, 2021 #3 I thought so, but because I have none (and have looked for Ignore on lines of functions) was thinking that was no longer true. WOW, hard to believe. Thanks Upvote 0
I thought so, but because I have none (and have looked for Ignore on lines of functions) was thinking that was no longer true. WOW, hard to believe. Thanks