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.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c02604a46964120,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps82.POSTED!7564ea0f!not-for-mail Newsgroups: comp.lang.ada From: Duke Normandin Subject: Noob question: universal_integer type User-Agent: slrn/0.9.8.1 (Darwin) Message-ID: Date: Fri, 21 May 2010 23:15:19 GMT NNTP-Posting-Host: 75.154.79.143 X-Trace: edtnps82 1274483719 75.154.79.143 (Fri, 21 May 2010 17:15:19 MDT) NNTP-Posting-Date: Fri, 21 May 2010 17:15:19 MDT Xref: g2news2.google.com comp.lang.ada:11860 Date: 2010-05-21T23:15:19+00:00 List-Id: Coronado's Ada tutorial - Chapt3 [quote] The constant 17 is of a very special type defined by Ada as type "universal_integer" which can be combined with any of the integer types without specific conversion. [/quote] Let me get this right... if I use an undeclared integer in an expression, Ada will "deem it" to be a "universal_integer" and not choke at compile-time? -- Duke *** Tolerance becomes a crime, when applied to evil [Thomas Mann] ***