You need something like cxref and cflow for Basic. How are you with perl, awk, grep, sed et al? :-) chuckc -----Original Message----- >From: Carey Fisher >Sent: Jan 29, 2013 2:51 PM >To: piclist@mit.edu >Subject: [PIC] Source Code Tools > >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 >http://www.piclist.com PIC/SX FAQ & list archive >View/change your membership options at >http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .