HP3000-L Archives

October 1999, Week 5

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:
"Emerson, Tom # El Monte" <[log in to unmask]>
Reply To:
Emerson, Tom # El Monte
Date:
Fri, 29 Oct 1999 19:04:57 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
> -----Original Message-----
> From: Paul Taffel [mailto:[log in to unmask]]
>
> I think you may need to create an XL, create an NM function
> that returns
> the current
> value of errno, and call this NM procedure from your CM code.
>  There again,
> there may
> be an easier way of getting to it from CM...  There may well
> be a function
> already located
> within XL.PUB.SYS or NL.PUB.SYS that you could call, but I
> can't find it.
>
> Paul Taffel
> ORBiT Software     (310) 276 9003

which boils down to "it's going to be a headache" :)

Actually, I'll be doing this in SPLash!, so perhaps it isn't as difficult as
all that [i.e., I can call the functions directly, for the most part]  I
suppose making a COBOL or C subprogram to "do the dirty work" of checking
and acting upon the "errno" variable isn't as bad, but it's a kludge no
matter how you look at it...

> At 06:35 PM 10/29/99 -0400, you wrote:
> >I think I'm running into a conceptual problem here -- accessing the
global "errno" variable from an SPL program
[...]
> >[or is doing SOCKET I/O in SPL too much of a headache to be
> worth it?    The
> >long term answer to my situation is to re-write the SPL
> program in C, but
> >time constraints prohibit that at the moment -- gotta make a
> 6000+ line SPL
> >program work WITH "sockets" by the end of the week...]
>

ATOM RSS1 RSS2