Are you currently using MicroCode Studio Plus? If not, head over to=20 and check it out. Its advantage is that it lists all of your variables and functions,=20 which makes it easy to see them and jump to them. Its worth looking at. dwayne At 01:51 PM 1/29/2013, Carey Fisher wrote: >I've been handed a rather large application written in PicBasic Pro with >a goal of shrinking its size by 10-20% I need to find any dead code or >declared but unused variables. >Does anyone know of any good source code tools that will perform >functions like this? >(I tried using a word counting program to count the number of >occurrences of each unique word and then examine the code for the words >with only one occurrence. It sorta worked but, of course, it got all >the DEFINES etc from the processor's INCLUDE file.) >Thanks, >Carey --=20 Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax www.trinity-electronics.com Custom Electronics Design and Manufacturing --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .