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,335f67c75a2a5d5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-12-28 19:20:01 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out.usenetserver.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.frmt1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: In Plain Text: Tags.Internal_Tag(String'Input(Stream)) ?? References: <3A4BF469.1D5C04F0@home.com> X-Newsreader: Tom's custom newsreader Message-ID: Date: Fri, 29 Dec 2000 03:20:00 GMT NNTP-Posting-Host: 24.20.190.201 X-Complaints-To: abuse@home.net X-Trace: news1.frmt1.sfba.home.com 978060000 24.20.190.201 (Thu, 28 Dec 2000 19:20:00 PST) NNTP-Posting-Date: Thu, 28 Dec 2000 19:20:00 PST Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: supernews.google.com comp.lang.ada:3442 Date: 2000-12-29T03:20:00+00:00 List-Id: >tag reading procedure such that it does not read in a lower >and upper bound for the string describing the tag. The chunk >ID is always 4 bytes, and obviously does not have the Ada >bounds (dope) information ahead of it in the file. TILT! Root'Class'Input *first* reads the tag, then it calls Some_Child'Input which reads the bounds and then calls Data'Read to read the data. The bounds information is *after* the chunk ID/tag. If "For A'External_Tag use "RIFF";" statements will handle the Chunk ID <-> Tag stuff, and the 'Read handles the basic data, it sounds like you need merely override S'Input to do your special stuff for bounds.