Subject: | |
From: | |
Reply To: | |
Date: | Mon, 8 Jul 1996 12:33:21 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On Jul 4, 12:31am, Jeff Kell wrote:
> Subject: Re: Sharing Variables
snip...
> One possible extension - create new HPCIERR-like variables qualified by PIN
> number, e.g., HPLOCALCIERRORnnn where "nnn" is the PIN of the process. This
> would let new applications exploit the availability of this function without
> breaking any of the existing applications. I would suggest "hiding" this
> somehow internally, but this would probably break other things (many existing
> applications query the CIERROR to determine an offspring and/or sibling's
> status).
Anyone can create HPCIERRnnn:
:setvar HPCIERR!HPPIN, value
HPPIN is an integer CI predefined variable that contains your PIN.
However, 1) you probably should not begin your own variable names with "HP"
and 2) doing this does not remove the window where Process A executes a command
and wants to test HPCIERR, while Process B clears HPCIERR just after
Process A's command executed but before Process A could check the result (or
could make a "local" copy of HPCIERR).
Jeff Vance, CSY
--
|
|
|