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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9c86eb13dd395066 X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: CRC in Ada? Date: 1997/03/24 Message-ID: #1/1 X-Deja-AN: 228058588 References: <1997Mar2.220652@nova.wright.edu> <1997Mar24.130721.1@eisner> Organization: The World Public Access UNIX, Brookline, MA Newsgroups: comp.lang.ada Date: 1997-03-24T00:00:00+00:00 List-Id: In article <1997Mar24.130721.1@eisner>, Larry Kilgallen wrote: >Depending on the operating system, it may be possible to write a file >which makes sense to one non-Ada program but not to another. So if we >say that Text_IO output should be readable by "some" non-Ada programs >or "ANSI-standard" non-Ada programs, that still leaves a lot of room >for "bugs" to use your definition. It is entirely possible to have >two tools both of which are "favorites" which don't handle things in >the same fashion. Well, sure, but on VMS, I can edit text files using several editors, and it seems to work, more or less. Surely, I can expect Ada.Text_IO to generate files compatible with that mode of operation. And vice-versa. I mean, when I edit a file in VMS, I don't give a bunch of system-dependent mumbo jumbo about what *sort* of text file I want. >... Thus one can have a "bug" (as always, seen in the >eye of the user) which Standard Ada (no platform tricks) could not >avoid. I agree that "bug" is in the eye of the beholder. ;-) And, sometimes, it's in the eye of the holder whose *fault* the bug is -- usually, given two incompatible programs, the second one that one happens to run across! - Bob P.S. I haven't used VMS for several years, but when I did, I used to edit text files (e.g. source code for a program) sometimes, and despite the weird file naming conventions, the *contents* of the files were plain old ascii text.