comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: quiz for Sequential_IO Read
Date: Mon, 4 Sep 2017 07:12:42 +0200
Date: 2017-09-04T07:12:42+02:00	[thread overview]
Message-ID: <ooin45$bmr$1@dont-email.me> (raw)
In-Reply-To: <oohnjh$rsq$1@newsreader4.netcologne.de>

Le 03/09/2017 à 22:10, Frank Buss a écrit :
>> In every language, the format of a binary file is known only to the
>> compiler (I remember having been warned about this when I learned
>> FORTRAN - a long time ago); the purpose of these files is to save data,
>> then reread them from the same program, or at least the same language
>> with the same compiler.
> 
> This is nonsense. There are a lot of binary file specifications and of
> course it should be possible to read and write these files, independent
> of the programming language or the compiler. Imagine files like PNG
> would only work, if you write/read them with a program, which was
> compiled with exact the same compiler.

I was talking about binary files defined by the language; if you use an
external binary file (like .PNG), you need to use streams, whose format
is well defined.

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr


  reply	other threads:[~2017-09-04  5:12 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-03 11:01 quiz for Sequential_IO Read Frank Buss
2017-09-03 11:40 ` Jeffrey R. Carter
2017-09-03 12:47   ` Frank Buss
2017-09-03 13:44     ` Jeffrey R. Carter
2017-09-03 15:38       ` AdaMagica
2017-09-03 12:26 ` Dmitry A. Kazakov
2017-09-03 12:43   ` Frank Buss
2017-09-03 13:11     ` Dmitry A. Kazakov
2017-09-04 19:58       ` Frank Buss
2017-09-04 20:55         ` Dmitry A. Kazakov
2017-09-04 21:51           ` Frank Buss
2017-09-05  1:54             ` Dennis Lee Bieber
2017-09-03 17:28 ` J-P. Rosen
2017-09-03 20:10   ` Frank Buss
2017-09-04  5:12     ` J-P. Rosen [this message]
2017-09-04  7:37     ` Dmitry A. Kazakov
2017-09-03 20:17   ` Dennis Lee Bieber
2017-09-04  5:14     ` J-P. Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox