LOCAL v1.1 by J.M.O'Donnell (ODONNELL@LAMPF) 12 July 1995. --> S/SX/G/GX (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 - the compiled code LOCAL.S - source code in RPL48/Jazz format LOCAL.DOC - this documentation LOCAL puts the names of local variables on the 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 its environment number, with the most recently created local environment being called environment #1, and being highest on the stack. The bottom 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 interactively, 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.