comp.lang.ada
 help / color / mirror / Atom feed
From: Duke Normandin <dukeofperl@ml1.net>
Subject: Noob question: universal_integer type
Date: Fri, 21 May 2010 23:15:19 GMT
Date: 2010-05-21T23:15:19+00:00	[thread overview]
Message-ID: <buEJn.4423$Z6.586@edtnps82> (raw)

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] *** 




             reply	other threads:[~2010-05-21 23:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21 23:15 Duke Normandin [this message]
2010-05-21 23:33 ` Noob question: universal_integer type Yannick Duchêne (Hibou57)
2010-05-21 23:34   ` Yannick Duchêne (Hibou57)
2010-05-21 23:37 ` Jeffrey R. Carter
2010-05-22  2:04   ` Duke Normandin
2010-05-22  7:16   ` Niklas Holsti
2010-05-22 13:04     ` Duke Normandin
2010-05-22 13:47       ` Dmitry A. Kazakov
2010-05-22 14:51         ` Duke Normandin
2010-05-22 20:08       ` Yannick Duchêne (Hibou57)
2010-05-23  2:28         ` Duke Normandin
2010-05-23  2:36           ` Yannick Duchêne (Hibou57)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox