Re: Easy question about Character manipulation



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
.