local v1.1 by J.M.O'Donnell (ODONNELL@LAMPF) 12 July 1995. (c) J.M.O'Donnell 1994,1995. This code may be distributed and modified, provided that this copyright is maintained, and that credit is given to all authors of the distributed version. local is a HP48 utility to output an analysis of the local environments. It was written on 48SX, but I believe it will work on both S and G series. Version 1.1 includes the following files: local.doc - the documentation LOCAL.UTL - the compiled code LOCAL.RPL - source code in RPL48 format local.inf - a summary file local puts the names of local variables on th stack. The variables in each environment are put in separate lists, on different levels of the stack. Each list is labled with a binary integer, giving it's level number, with the most recently created local environment being level 1, and being highest on the stack. The top item on the stack is the total number of local environments, also a binary integer. The code can be used as a debugging routine, either called inside an RPL routine, or interactivley, inside a HALTed program. Note, that for sysRPL programs which do not have sufficient ABNDs, the HP48 will remove all local environments before giving a command prompt, unless the userRPL command HALT is used to return to the command prompt.