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 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: Christoph Grein Subject: Extracting Fields in Files Date: 2000/01/13 Message-ID: <200001130658.HAA07055@bulgaria.otn.eurocopter.de>#1/1 X-Deja-AN: 572029211 To: comp.lang.ada@ada.eu.org Content-Type: TEXT/plain; charset=us-ascii Content-MD5: oU+3F562IesRKZ8CXlirXw== X-Complaints-To: usenet@enst.fr X-Trace: menuisier.enst.fr 947757467 26047 137.194.161.2 (13 Jan 2000 09:57:47 GMT) Organization: ENST, France X-BeenThere: comp.lang.ada@ada.eu.org Mime-Version: 1.0 Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Date: 13 Jan 2000 09:57:47 GMT Newsgroups: comp.lang.ada Date: 2000-01-13T09:57:47+00:00 List-Id: There's nothing wrong with method 1. However you could improve by introducing subtypes: subtype Data_Range is Positive range 1 .. 8; subtype Command_Range is Positive range 73 .. 77; Command_code := rec01 (Command_Range); Date_entered := rec01 (Data_Range);