[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] two versions of DeviceTablePtrValue
From: |
Martin Kalbfuß |
Subject: |
Re: [Gm2] two versions of DeviceTablePtrValue |
Date: |
Sat, 05 Jun 2010 13:30:53 +0200 |
Wow, that was fast. Thanks a lot. You forgot to update the desription
comment of the procedure.
I still wonder how to implement your own channel the right way. There's
no ISO conform way. to obtain the did out of the cid, because
DeviceTablePtrValue needs the did as parameter.
To implement an open/close pair for your custom stream like
OpenMyChannel(VAR cid : IOChan.ChanId);
CloseMyCannel(VAR cid : IOChan.ChanId);
you have to store the did externally in an array or something similar.
Do you think that's the right way to do it?
Am Samstag, den 05.06.2010, 12:20 +0100 schrieb Gaius Mulley:
> Martin Kalbfuß <address@hidden> writes:
>
> > Hi again,
> >
> > I was reading some references of the ISO library. Looks like there are
> > two versions of DeviceTablePtrValue arround.
> >
> > gm2 has
> >
> > PROCEDURE DeviceTablePtrValue (cid: IOChan.ChanId; did: DeviceId;
> > x: DevExceptionRange; s: ARRAY OF CHAR):
> > DeviceTablePtr;
> >
> > But on some sources it's
> >
> > PROCEDURE DeviceTablePtrValue (cid: IOChan.ChanId; did: DeviceId):
> > DeviceTablePtr;
> >
> >
> > I found this at:
> >
> > http://www.excelsior-usa.com/doc/isolib.html
> > http://www.modula2.org/reference/isomodules/isomodule.php?file=IOLINK.DEF
> >
> >
> > Martin
>
> Hi Martin,
>
> thanks for this report - I don't know why this change crept in. I've
> now corrected the gm2 definition in the CVS:
>
> * fixed definition of DeviceTablePtrValue to comply with
> the ISO standard, bug reported by Martin Kalbfuß.
> * gm2/gm2-libs-iso/ClientSocket.mod: changed to comply with
> the correct ISO definition.
> * gm2/gm2-libs-iso/IOChan.mod: changed to comply with
> the correct ISO definition.
> * gm2/gm2-libs-iso/IOLink.def: changed to comply with
> the correct ISO definition.
> * gm2/gm2-libs-iso/IOLink.mod: changed to comply with
> the correct ISO definition.
> * gm2/gm2-libs-iso/ProgramArgs.mod: changed to comply with
> the correct ISO definition.
> * gm2/gm2-libs-iso/RTgen.mod: changed to comply with
> the correct ISO definition.
> * gm2/gm2-libs-iso/RndFile.mod: changed to comply with
> the correct ISO definition.
> * gm2/gm2-libs-iso/SeqFile.mod: changed to comply with
> the correct ISO definition.
> * gm2/gm2-libs-iso/SimpleCipher.mod: changed to comply with
> the correct ISO definition.
> * gm2/gm2-libs-iso/StreamFile.mod: changed to comply with
> the correct ISO definition.
> * gm2/gm2-libs-iso/TermFile.mod: changed to comply with
> the correct ISO definition.
>
> regards,
> Gaius
- [Gm2] two versions of DeviceTablePtrValue, Martin Kalbfuß, 2010/06/05
- Re: [Gm2] two versions of DeviceTablePtrValue, Martin Kalbfuß, 2010/06/05
- Re: [Gm2] two versions of DeviceTablePtrValue, Gaius Mulley, 2010/06/05
- Re: [Gm2] two versions of DeviceTablePtrValue,
Martin Kalbfuß <=
- Re: [Gm2] two versions of DeviceTablePtrValue, Gaius Mulley, 2010/06/05
- RE: [Gm2] two versions of DeviceTablePtrValue, Breeden, Thomas (tmb), 2010/06/05
- Re: [Gm2] two versions of DeviceTablePtrValue, Gaius Mulley, 2010/06/05
- RE: [Gm2] two versions of DeviceTablePtrValue, Martin Kalbfuß, 2010/06/05
- RE: [Gm2] two versions of DeviceTablePtrValue, Breeden, Thomas (tmb), 2010/06/07
- Re: [Gm2] two versions of DeviceTablePtrValue, Fischlin Andreas, 2010/06/06