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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,77bf8fb943650b32 X-Google-Attributes: gid103376,public From: wheeler@aphrodite (David Wheeler) Subject: Re: type declaration problem(beginner) Date: 1997/03/05 Message-ID: <5fka4h$d34@news.ida.org>#1/1 X-Deja-AN: 223309772 Distribution: world References: <1997Feb26.120011.27@whisky> Organization: IDA, Alexandria, Virginia Reply-To: dwheeler@ida.org Newsgroups: comp.lang.ada Date: 1997-03-05T00:00:00+00:00 List-Id: dawkins@whisky.nrl.navy.mil (Scott Dawkins) wrote: : I have a type declarations, example: : type Month is (Jan, Feb, etc...) : I want to write another declaration for a array of boolean values, Set_type. : Use the type Month for the indices into the array. : Any help from someone who may know would be helpful. I'm just learning ada : and having a hard time following the book. Oh yea, anyone know of any good : books on ada. Use: type Set_Type is array(Month) of Boolean; For good books, try out my "Lovelace" Ada95 tutorial. It's available on-line at: http://www.adahome.com/Tutorials/Lovelace/lovelace.htm By the end of the March 1997 it should be available as a book. --- David A. Wheeler dwheeler@ida.org