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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ae40b60d59bcdc4b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-10 11:04:01 PST Path: supernews.google.com!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!news.tele.dk!212.74.64.35!colt.net!newspeer.clara.net!news.clara.net!news5-gui.server.ntli.net!ntli.net!news2-win.server.ntlworld.com.POSTED!not-for-mail From: "chris.danx" Newsgroups: comp.lang.ada References: Subject: Re: Ada Examples and Problems X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Tue, 10 Apr 2001 18:57:18 +0100 NNTP-Posting-Host: 213.104.124.40 X-Complaints-To: abuse@ntlworld.com X-Trace: news2-win.server.ntlworld.com 986925417 213.104.124.40 (Tue, 10 Apr 2001 18:56:57 BST) NNTP-Posting-Date: Tue, 10 Apr 2001 18:56:57 BST Organization: ntlworld News Service Xref: supernews.google.com comp.lang.ada:6720 Date: 2001-04-10T18:57:18+01:00 List-Id: Sorry mistake! Should have been starting at 1, i read the first owner. this means we're now at 42 after the first read. Add size of dog_type in stream elements, this is byte for GNAT. this means we're now at 56+41 = 97 add 1 we're now at 98 read next owner. That's the theory. The reality is different. The reads occur at 1 97 193 289 385 481 Which i don't understand. Does anyone have any ideas? Thanks, Chris Campbell > > p.s. I got the program to work by doing a read of owner then dog 5 times. I > wanted to demonstrate non-sequential access and this is the opposite. > >