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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,caabf5265fad78e5 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!wn11feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada From: anon@anon.org (anon) Subject: Re: unsigned type Reply-To: anon@anon.org (anon) References: X-Newsreader: IBM NewsReader/2 2.0 Message-ID: <59O1m.404661$4m1.69194@bgtnsc05-news.ops.worldnet.att.net> Date: Sun, 28 Jun 2009 17:56:17 GMT NNTP-Posting-Host: 12.64.78.33 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1246211777 12.64.78.33 (Sun, 28 Jun 2009 17:56:17 GMT) NNTP-Posting-Date: Sun, 28 Jun 2009 17:56:17 GMT Organization: AT&T Worldnet Xref: g2news2.google.com comp.lang.ada:6686 Date: 2009-06-28T17:56:17+00:00 List-Id: with Interfaces ; -- use Interfaces ; -- Unless you need a special type just uses the predefined types in this package. Such as: Unsigned_8 ; -- 8 bit Unsigned_16 ; -- 16 bit Unsigned_32 ; -- 32 bit Unsigned_64 ; -- 64 bit In , Rob Solomon writes: >I am trying to learn Ada. I am very familiar w/ Modula-2. > >I am trying to declare a type as unsigned using Ubuntu 9.04 GNAT >compiler. I know Ada does not have a type CARDINAL, but I thought it >had a type Unsigned. > >How do I declare such a variable? > >Thanks