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,cd703a96ca51de6e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!newsfeed.freenet.de!newsfeed.tiscali.ch!solnet.ch!solnet.ch!newsfeed.inode.at!news.hispeed.ch!linux2.krischik.com!news From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: 'Base Date: Thu, 08 Dec 2005 20:11:54 +0100 Organization: Cablecom Newsserver Message-ID: <2038690.eAzdaEvAON@linux1.krischik.com> References: <1134055303.758950.308680@o13g2000cwo.googlegroups.com> NNTP-Posting-Host: 84-73-0-2.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.hispeed.ch 1134070203 29187 84.73.0.2 (8 Dec 2005 19:30:03 GMT) X-Complaints-To: news@hispeed.ch NNTP-Posting-Date: Thu, 8 Dec 2005 19:30:03 +0000 (UTC) User-Agent: KNode/0.9.2 Xref: g2news1.google.com comp.lang.ada:6777 Date: 2005-12-08T20:11:54+01:00 List-Id: ada_student@yahoo.com wrote: > What information does this attribute provide that cannot be specified > using other Ada attributes? I don't know an attribute to replace 'Base. Which Attributes where you thinking about. > Why use an expression style to return a type? Is this because of > the presence of parameterized types(i.e. generics) in Ada? You can use 'Base wherever you use a Type. e.E.: X : Natural'Base := -1; The 'Base if Natural is Integer. It can be helpfull in generics but the use of 'Base is not restricted to them. Read: http://en.wikibooks.org/wiki/Ada_Programming/Subtypes Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com