Article View: comp.lang.modula2
Article #3256Re: Modula2 for C programmers?
From: "David Collier"
Date: Wed, 07 Feb 1996 22:57
Date: Wed, 07 Feb 1996 22:57
15 lines
1006 bytes
1006 bytes
>It is clearly safest to avoid using this extension (contamination?) and >to stick with the PIM case as I suggested and use VAL for the rest. I suppose so. Trouble is I came first to JPI, and never realised for AGES that there was anything odd about it! I think the answer is to use VAL for everything, unless you seriously intend to copy the bit pattern across, in which case set up variant records, and pass everything through them. Though as Peter Moylan points out, you can check that the SIZE of 2 things is equivalent, in theory you can't discount a computer strong it's floating point values ( or anything else ) in BCD.....:-(( David.
Technical Details
Message-ID:
<DMFH4L.Dtx@cix.compulink.co.uk>Path:
arc1-ca.pugleaf.net!cix.compulink.co.uk!usenetReferences:
<4etbcu$qrd@nyheter.chalmers.se>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2
Path: arc1-ca.pugleaf.net!cix.compulink.co.uk!usenet
From: dcollier@cix.compulink.co.uk ("David Collier")
Subject: Re: Modula2 for C programmers?
Message-ID: <DMFH4L.Dtx@cix.compulink.co.uk>
Organization: DexDyne
References: <4etbcu$qrd@nyheter.chalmers.se>
Date: Wed, 7 Feb 1996 22:57:57 GMT
X-News-Software: Ameol