From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,577c9f9c0cdd76d X-Google-Attributes: gid103376,public From: Marin Condic Subject: Re: Confusing language, was Re: Help help.. please.i am totaly new in ada programing Date: 1999/11/12 Message-ID: <382C502B.2DEAA0AB@pwfl.com>#1/1 X-Deja-AN: 547822527 Content-Transfer-Encoding: 7bit Sender: condicma@bogon.pwfl.com References: <7vqgs2$lcc$1@nnrp1.deja.com> <38233108.F3540F0@ebox.tninet.se> <806716$i6c2@ftp.kvaerner.com> <807109$8m0$1@nnrp1.deja.com> <38270DC7.86553BB1@pwfl.com> <38285C60.B3E2D2BC@pwfl.com> <809u91$3ik$1@nntp1.atl.mindspring.net> <80djd2$48o$1@nnrp1.deja.com> <382C40FA.248E6840@mitre.org> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Pratt & Whitney Mime-Version: 1.0 Reply-To: condicma@pwflcom Newsgroups: comp.lang.ada Date: 1999-11-12T00:00:00+00:00 List-Id: "Robert I. Eachus" wrote: > Correct, but in Ada 95 the "right" way to create implementation > independent files is to use Streams. If the vendor overrides 'Read, > 'Write, 'Input and 'Output for Ada.Calendar.Time, which the vendor is > free to do, then > such times in files should be portable between programs running on > different system architectures. It would be nice if the vendors could > get together on a single standard, but I don't think it can be added to > the Ada standard, since > streams are not required to be (8-bit) byte oriented. That's not the real problem. At most, that would help you in communicating with other programs written in Ada (anybody else's Ada) and only in so far as they were running on similar architectures. The real problem is that in most cases where the data goes outside of the control of the system in question (some data stream down a hose, a large organization-wide database, historical archives, whatever) you don't know what will be at the receiving end and can't even begin to guess what language/standards they may be using. But there's one thing you do know: If you put it into a character representation and stick to some common convention, whoever is at the other end ought to be able to parse it into their own internal format. MDC -- Marin David Condic If you hurry you can, for a short time only, still find me at: Real Time & Embedded Systems, Propulsion Systems Analysis United Technologies, Pratt & Whitney, Large Military Engines M/S 731-95, P.O.B. 109600, West Palm Beach, FL, 33410-9600 ***To reply, remove "bogon" from the domain name.*** Visit my web page at: http://www.mcondic.com/