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-Thread: 103376,5b18a5a233d3f64b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.germany.com!newsfeed.utanet.at!newsfeed01.chello.at!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Ann: UnZip-Ada v.20 From: Georg Bauhaus In-Reply-To: <45fe8dfa$1@news.post.ch> References: <45fa9823$1_4@news.bluewin.ch> <45fabc52$0$192$edfadb0f@dread11.news.tele.dk> <45fad3af$1_6@news.bluewin.ch> <45fb9e15$1_4@news.bluewin.ch> <1174303820.108064.43930@e1g2000hsg.googlegroups.com> <45fe8dfa$1@news.post.ch> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1174311960.7147.12.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Date: Mon, 19 Mar 2007 14:46:00 +0100 Organization: Arcor NNTP-Posting-Date: 19 Mar 2007 14:42:15 CET NNTP-Posting-Host: f131b067.newsspool3.arcor-online.net X-Trace: DXC=_o>e]i4J\FoFXUDVUnEXQmMcF=Q^Z^V3h4Fo<]lROoRaFl8W>\BH3YbB31F:BGKdJJEe X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:14557 Date: 2007-03-19T14:42:15+01:00 List-Id: On Mon, 2007-03-19 at 14:19 +0100, Martin Krischik wrote: > Jacob Sparre Andersen schrieb: > > Harald Korneliussen found the code: > > > >> -- Codes for methods > >> > >> stored: constant:= 0; > >> shrunk: constant:= 1; > >> reduced_1: constant:= 2; > >> reduced_2: constant:= 3; > >> reduced_3: constant:= 4; > >> reduced_4: constant:= 5; > >> imploded: constant:= 6; > >> deflated: constant:= 8; > >> > >> SupportedMethods: constant:= > >> 2 ** stored + 2 ** shrunk + > >> 2 ** reduced_1 + 2 ** reduced_2 + > >> 2 ** reduced_3 + 2 ** reduced_4 + > >> 2 ** imploded + > >> 2 ** deflated; > for Method_Codes use ( > Stored: => 0, > Shrunk: => 1, > Reduced_1: => 2, > Reduced_2: => 3, > Reduced_3: => 4, > Reduced_4: => 5, > Imploded: => 6, > Deflated: => 8); I'd use the original codes, if only for keeping the bit positions. I.e. 2#0#, 2#10#, 2#100#, ... Which might happen automatically when there is no rep spec other than packing :-)