<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Mon, 28 Feb 2005 16:59:32 +0000 (GMT)
From   : James Lampard <james_lampard@...>
Subject: Re: ADFS OSWord &72 control block byte zero

 --- Jonathan Graham Harston <jgh@...>
wrote: 
> > Message-ID: <4d4337c13einfo@...>
>  
> Sprow <info@...> wrote:
> >    Jonathan Graham Harston
> <jgh@...> wrote:
> > > Does anybody know what the byte at XY+0
> indicates in OSWord &72?
> > 
> > I can think of two possibilities:
> > 
> > 1. You enter with XY+0=0 and a non-zero return is
> to allow the caller to
> >    deduce that ADFS is fitted and at least had a
> go at the call. Thus on a
> >    machine with no ADFS the XY+0 would still be 0
> after the call.
>  
> That would work if ADFS returns XY+0=0 to indicate
> "OK". So,
> calling with XY+0=0 would result in an apparent no
> change if the
> call was successful. The manual says to call OSWORD
> &72 with
> XY+0=0, but makes no explanation for it.
I think you've got it the wrong way round.
ADFS returns 1 if the call was sucessfull >1 =error
code (so ADFS had a go at it)
It *stays* at zero if no ADFS.

You could have a problem if your IDE command happened
to be the same as one of the error codes and was used
on a machine without ADFS.

Cheers,
James.

Send instant messages to your online friends http://uk.messenger.yahoo.com 
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>