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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c96efb67e4b1a2c5,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-12-16 10:26:36 PST Path: bga.com!news.sprintlink.net!hookup!news.mathworks.com!udel!gatech!howland.reston.ans.net!ix.netcom.com!netnews From: halloran@ix.netcom.com (Timothy Halloran) Newsgroups: comp.lang.ada Subject: How does the Ada 95 Streams package Index? Date: 16 Dec 1994 05:54:31 GMT Organization: Netcom Distribution: world Message-ID: <3cra2n$rio@ixnews1.ix.netcom.com> NNTP-Posting-Host: ix-lv1-18.ix.netcom.com Date: 1994-12-16T05:54:31+00:00 List-Id: >From examining the Ada 95 reference manual I get the impression that a file created with the streams package is able to move to numbered records in the file (e.g. Read the 5th record). How is this intended to be implemented in light of the variable length of the records which could be in the file? Are all the records expanded to the largest size or are divider bytes inserted in the file. GNAT doesn't have this package yet (but soon will I am told) so I haven't been able to "test" this package out. Anyone up on this? A Humble Ada Programmer, Tim Halloran