HP3000-L Archives

October 1999, Week 4

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:
Keven Miller <[log in to unmask]>
Reply To:
Keven Miller <[log in to unmask]>
Date:
Wed, 27 Oct 1999 11:58:17 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (21 lines)
I am using XSYSTRAP to catch intrinsic aborts.

When calling GETPRIVMODE without having PM on my program,
my trapsys procedure is invoked. Currently I set my own global variable
to let me know if I have PM or not and give an appropriate msg to the user.

I would like to have the intrinsic GETPRIVMODE return CCLto mean no PM.
I have my trapsys routing calling HPSETCCODE ( CCL ), but its not carried
thru back to my user code.

Is there a way to set the condition code to be returned by my trap
procedure?

This question also may apply to XLIBTRAP, but I haven't gotten there yet.
Thanks

+=====================================
 Keven Miller   KC7LYD
 [log in to unmask]   (Salt Lake City, Utah, USA)
+=====================================

ATOM RSS1 RSS2