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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9e47ad8d460f46b8 X-Google-Attributes: gid103376,public From: jmoor@my-deja.com Subject: Re: Extracting Fields in Files Date: 2000/01/14 Message-ID: <85nsv7$b6b$1@nnrp1.deja.com>#1/1 X-Deja-AN: 572655995 References: <200001130658.HAA07055@bulgaria.otn.eurocopter.de> <85l0iu$6uj$1@nnrp1.deja.com> <85l7t4$18c$1@hobbes2.crc.com> X-Http-Proxy: 1.0 DCC-PROXY, 1.0 x39.deja.com:80 (Squid/1.1.22) for client 209.49.118.18 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Fri Jan 14 19:21:30 2000 GMT X-MyDeja-Info: XMYDJUIDjmoor Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt) Date: 2000-01-14T00:00:00+00:00 List-Id: In article <85l7t4$18c$1@hobbes2.crc.com>, "David C. Hoos, Sr." wrote: > You may find it more useful to use Ada.Streams.Stream_IO, because it > allows you to read the file as a stream of bytes -- in which case you can > I am not able to read all my downloaded records in Perl -- end of file is sensed at record 193, just as in Ada. I am not able to read all my downloaded records in C when I open the file read (ie "r"), but when I open the file read-binary (ie "r+b")all records are read. I have not found "stream io" explained in any book. The RM seems unintelligible (I don't speak Noir notation). I can't find an example of stream io. Isn't there an easy way of reading binary in Ada (eg. "r+b"). I will surely loose what little sanity I have, if I have to code in C. Sent via Deja.com http://www.deja.com/ Before you buy.