HP3000-L Archives

August 2000, Week 1

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:
Dennis Handly <[log in to unmask]>
Reply To:
Dennis Handly <[log in to unmask]>
Date:
Fri, 4 Aug 2000 05:44:50 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
Ted Ashton ([log in to unmask]) wrote:
: A value out of subrange *used* to fall under the XLIBTRAP domain but has
: now moved to the (undocumented) XCODETRAP domain.

Actually they aren't in any domain.  :-)
You should use try/recover for all.
My documentation for XCODETRAP doesn't indicate it handles range errors.

: I'd've heard of XCODETRAP in time, I'd've probably used that

Bad..., if you are going to use any trap routine use what the Trap Handling
Programmer's Guide documents:
HPENABLTRAP/XARITRAP.

One of them is range errors.
In fact, you should call COBOLTRAP and see what COBOL does for you.

It tells you the value and the limit and gives you the line number.

: I've ripped XLIBTRAP completely out, replacing it with Try/Recover.
: Ted

You've seen the force.

ATOM RSS1 RSS2