HP3000-L Archives

September 2002, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Sun, 29 Sep 2002 14:33:39 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
Re:
> If an AIF intrinsic procedure call fails how do I convert its error number to
> an error message?

   var
      altstatus : integer;  (or hpe_status)
      status    : integer;  (or hpe_status)
   ...
   aif.... (status, ...)
   ...
   if status <> 0
      hperrmsg (2, 1, , status, , , altstatus);

hperrmsg has many modes of operation.  The call shown above will display
the error text associated with the status *or* (if not in the system catalog)
will display a message showing the set number and error number (which you
can use to lookup the error in the AIF manual).

--
Stan Sieler
[log in to unmask]
www.allegro.com/sieler/wanted/index.html

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2