Is there a function of MPLAB, or some third-party tool for mapping out which subroutines use what variables? Another thing I'd like to see is a chart of what sub calls which other subs. Have not found either as of yet. JB -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu