HP3000-L Archives

February 2001, 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:
Ken Hirsch <[log in to unmask]>
Reply To:
Ken Hirsch <[log in to unmask]>
Date:
Wed, 7 Feb 2001 13:08:46 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
Jim Phillips <[log in to unmask]> wrote:
>
> Hmmmmm.  Isn't the first parameter for HPCIGETVAR the VarName, defined as
a
> character array?

When you call if from an official HP compiler, yes.  But the compilers add
the parameter count and any necessary default values you omitted--by looking
in the SYSINTR.PUB.SYS file.  The Gnu compiler doesn't do this, you have to
do it yourself.

I've looked back at the SYSINTR file and my Perl program which parses it.  I
figured out which field is the minimum parameter count, so that is fixed.  I
still have four fields that I don't understand.  Is this file format
documented anywhere?

In the type 3 records, the first nine numeric fields are:
 recordtype, maxparms, return_type, a,
 b, c, d, minparms,
 namelength

So, what are "a, b, c, d"?  In my SYSINTR file, at least, "b" and "d" are
always zero.

Ken

ATOM RSS1 RSS2