Re: Easy question about Character manipulation
- From: Martin Krischik <krischik@xxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Jan 2007 13:28:45 +0100
mark schrieb:
Hello,
I am quite newbie to ada. I have declared something like that:
May is suggest:
http://en.wikibooks.org/wiki/Ada_Programming/Strings
http://en.wikibooks.org/wiki/Ada_Programming/Type_System
to you.
size: Integer := 9;
emptySpaces : array (0..size) of Character := "0123456789";
textLine : array (0..size * 3) of Character;
It has been suggested before so let me emphasis: use
size: Integer := 10;
emptySpaces : array (1..size) of Character := "0123456789";
textLine : array (1..size * 3) of Character;
Martin
.
- Follow-Ups:
- Re: Easy question about Character manipulation
- From: Jeffrey R. Carter
- Re: Easy question about Character manipulation
- References:
- Easy question about Character manipulation
- From: mark
- Easy question about Character manipulation
- Prev by Date: Re: Wasteful internationalization (Was: Structured exception information)
- Next by Date: Re: Does Ada tasking profit from multi-core cpus?
- Previous by thread: Re: Easy question about Character manipulation
- Next by thread: Re: Easy question about Character manipulation
- Index(es):