Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!paul+ From: paul+@andrew.cmu.edu (Paul J. Dujmich) Newsgroups: comp.sys.handhelds Subject: HP48/28 Local Variables Message-ID: Date: 9 Apr 90 12:55:42 GMT Organization: Computing Systems, Carnegie Mellon, Pittsburgh, PA Lines: 24 Hi to everyone on the list. I have a question concerning local variables as used on the 48/28. I understand that: << -> a b c << function body >> >> will pull 3 values off the stack and load them into the local variables a, b, and c. My question is....... How do you print one of these local variables, say on line 1 of the display? For instance, a 1 DISP dosen't seem to work. 'a' 1 DISP dosen't work either. I can use 'a' STO and 'a' RCL , but this creates variables in the current directory. If an error occurs in your program, the variables are left behind to be purged manually. It's a very elementary question, but I didn't do much programming on my 28 when I had it, and now that I've got the 48, I would really like to understand this concept. Paul