comp.lang.ada
 help / color / mirror / Atom feed
* Noob question: universal_integer type
@ 2010-05-21 23:15 Duke Normandin
  2010-05-21 23:33 ` Yannick Duchêne (Hibou57)
  2010-05-21 23:37 ` Jeffrey R. Carter
  0 siblings, 2 replies; 12+ messages in thread
From: Duke Normandin @ 2010-05-21 23:15 UTC (permalink / 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] *** 




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-05-23  2:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-21 23:15 Noob question: universal_integer type Duke Normandin
2010-05-21 23:33 ` 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)

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