Re: Easy question about Character manipulation
- From: "Dmitry A. Kazakov" <mailbox@xxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Jan 2007 22:12:51 +0100
On Tue, 30 Jan 2007 15:24:45 -0500, Robert A Duff wrote:
"Jeffrey R. Carter" <jrcarter@xxxxxxx> writes:
Let me emphasize:
Size : constant := 10;
There's no reason for Size to be an object, much less a variable.
I agree that it should probably be constant, but why not give it a type,
as in:
Size : constant Integer := 10;
I think named numbers are a kludge, and should usually be avoided.
I would agree if Universal_Integer were a proper type name. Integer tells
too much.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.
- Follow-Ups:
- Re: Easy question about Character manipulation
- From: Robert A Duff
- Re: Easy question about Character manipulation
- References:
- Easy question about Character manipulation
- From: mark
- Re: Easy question about Character manipulation
- From: Martin Krischik
- Re: Easy question about Character manipulation
- From: Jeffrey R. Carter
- Re: Easy question about Character manipulation
- From: Robert A Duff
- Easy question about Character manipulation
- Prev by Date: Re: Interfacing with C - pointer problem
- Next by Date: Re: Reading Float Data from a binary file into ada
- Previous by thread: Re: Easy question about Character manipulation
- Next by thread: Re: Easy question about Character manipulation
- Index(es):
Relevant Pages
|