Give Doxygen a look. It supports Basic. Not sure if it will handle PicBasic= .. David On 1/29/2013 3:51 PM, Carey Fisher wrote: > I've been handed a rather large application written in PicBasic Pro with= =20 > a goal of shrinking its size by 10-20% I need to find any dead code or=20 > declared but unused variables. > Does anyone know of any good source code tools that will perform=20 > functions like this? > (I tried using a word counting program to count the number of=20 > occurrences of each unique word and then examine the code for the words=20 > with only one occurrence. It sorta worked but, of course, it got all=20 > the DEFINES etc from the processor's INCLUDE file.) > Thanks, > Carey >=20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .