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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.linkpendium.com!news.linkpendium.com!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 03 Sep 2017 15:17:31 -0500 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: quiz for Sequential_IO Read Date: Sun, 03 Sep 2017 16:17:30 -0400 Organization: IISS Elusive Unicorn Message-ID: <9eooqc1fobftu0rf1cql0heo1o17rkj9jm@4ax.com> References: User-Agent: ForteAgent/8.00.32.1272 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 108.73.118.77 X-Trace: sv3-Mzw5OEEGyqsyfyKIWRB5PsjW7McVqOU+0ZUv1KDaeSuKHcgmplDTq+WM5/iJcRKr8OSo5ey9zPioSOJ!vIfi0Xm+Rsny2aGev6Xa7yJvZYLfgaDJ68vowAdw1Lt4P01To1Vx8BfKx6CTpMXkwBJ9aTPDpXLw!QmABooAQ4k1xnOaJgv28bX/8Bxs= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2504 Xref: news.eternal-september.org comp.lang.ada:47922 Date: 2017-09-03T16:17:30-04:00 List-Id: On Sun, 3 Sep 2017 19:28:14 +0200, "J-P. Rosen" declaimed the following: >Le 03/09/2017 à 13:01, Frank Buss a écrit : >> The content of test.txt is just the ASCII string "hello": >If it is a text file, it is not appropriate for Sequential_IO which >requires a binary file. > >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. > Record Management Services (RMS) were the common underlying record handling system in the VMS operating system. It was responsible for allowing practically any language on the system to read files created by any other language. Whether fixed-length sequential, variable-length sequential, direct access, and keyed access. Though I will admit that DEC F77 did complicate it somewhat by using a segmented record scheme for the default -- in which, as I recall, the first byte encoded a length and 1-bit first segment, 1-bit last segment indicator (if both set, the segment is the entire record, neither set meant the segment is intermediate). -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/