HP3000-L Archives

November 2000, Week 3

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:
Bill Cadier <[log in to unmask]>
Reply To:
Bill Cadier <[log in to unmask]>
Date:
Mon, 20 Nov 2000 23:46:00 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
Hi Tom,

Try this...

    HPCIGETVAR(14, varname, &status,
        10,&strlen,
         2, varvalu,
         0, 0, 0, 0, 0, 0, 0, 0);

The procedure HPCIGETVAR is defined as extensible 14. There are only 14
parameters to this routine, the varname, the status and 6 pairs of item/itemnums.
Therefore ALL 14 are required. No idea why it's defined as extensible when
all parameters are required to be passed anyway.

HTH

Bill
HP/CSY
[log in to unmask]


< snip >

>    HPCIGETVAR(/* PARM COUNT: */ 6,
>        varname,&status,
>        10,&strlen,
>         2, varvalu);
>
>doesn't "fail spectactularly" -- it just simply fails...
>
>R:[/EMERSON/WORK]> gcc -o psysidx psysidx.c
>R:[/EMERSON/WORK]> ./psysidx
>The system name starts with Z
>
>[the output should have been "the system name starts with R", since
>HPSYSNAME has the value "RAVEN"]
>

ATOM RSS1 RSS2