Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!bionet!agate!ucbvax!bloom-beacon!eru!hagbard!lunic!my!luth!d89-mlt From: d89-mlt@sm.luth.se (Morgan Lindqvist) Newsgroups: comp.sys.handhelds Subject: HP48:Errorhandling help,strange feature and a little problem Keywords: HP48 Error Message-ID: <1548@tau.sm.luth.se> Date: 18 Apr 91 17:50:49 GMT Distribution: comp Organization: University of Lulea, Sweden Lines: 65 Hello World! I have a BIG and a tiny problem, hope you out there can help me solving them. The BIG problem: --------------- When one in a program or a library does a #201h DOERR the HP says: Error: Too Few Arguments How do I do if I want it to say: HDrcl Error: Too Few Arguments HDrcl is the program there the DOERR reside. e.i How do I tell the errorhandler that it is the command HDrcl is the active one. If you key in a program like this with a library attached, you will get a very strange error message if you detach and purge the library and then run the program. \<< 12 'Test' STO Library_command \>> The HP will say: STO Error: Undefined XLIB Name 4: 3: 2: 12 1: 'Test' Yes, your eyes are telling you the right thing. The arguments to STO are still on the stack AND there is a new variable called Test containing 12 on the directory. I understand why it says 'Undefined XLIB Name', but I was very surprised that the errorhandler still thinks that STO is the present command and there fore restores the stack as it looked before the STO command. NOTE: I have a HP48-A, can someone whit a version D or E verify this behavior. Now to something more easy The tiny problem: ---------------- Where can I get the IFERR library I am eagerly waiting for YOUR answer (E-Mail OR c.s.h (h=handhels or h=hp48)) Morgan Lindqvist d89-mlt@sm.luth.se