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,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e7634e087d521aa2 X-Google-Attributes: gid103376,public From: bscrawford@aol.com (BSCrawford) Subject: Re: Newbie question about types Date: 1999/11/22 Message-ID: <19991122113055.05834.00000083@ngol08.aol.com>#1/1 X-Deja-AN: 551678486 References: <81bn5j$sv8$1@nntp9.atl.mindspring.net> Organization: AOL http://www.aol.com Newsgroups: comp.lang.ada X-Admin: news@aol.com Date: 1999-11-22T00:00:00+00:00 List-Id: David, An enumeration type declaration specifies a list of distinct items, enclosed in parentheses. The items are identifiers or character literals. In either case the legal values of the type are referred to as "enumeration literals." Each of these values has a "position number" corresponding to its position in the list Enumeration types have attributes T'First, T'Last, T'Range, T'Pred, T'Succ, T'Min, T'Max, T'Image, T'Wide_Image, T'Value, T'Wide_Value, T'Pos, and T'Val Numeric types specify sets of numerical values and include integer types, floating-point types, and fixed-point types. Generally speaking, numeric types have the same attributes as enumeration types. However, floating-point and fixed-point types do not have the T'Pos and T'Val attributes. Some numeric types have additional attributes. For example, fixed-point types have the attributes T'Delta, and T'Small. (Congratulations on the proper spelling of Ada, and good luck with our favorite language. :-) Bard Crawford Stage Harbor Software