comp.lang.ada
 help / color / mirror / Atom feed
* Easy question about Character manipulation
@ 2007-01-29 20:01 mark
  2007-01-29 20:17 ` Dmitry A. Kazakov
  2007-01-30 12:28 ` Martin Krischik
  0 siblings, 2 replies; 27+ messages in thread
From: mark @ 2007-01-29 20:01 UTC (permalink / raw)


Hello,

I am quite newbie to ada. I have declared something like that:
size: Integer := 9;
emptySpaces : array (0..size) of Character := "0123456789";
textLine : array (0..size * 3) of Character;

Now I would like to have the possibility to initialize textLine 
variable, but when I write:
textLine := "9876543210" & emptySpaces & "9876543210";

I got an error 'expected type of textLine' ,'found type od 
emptySpacs...'. I know it is connected with very deep contstaint 
checks but have no idea how I could avoid that. Could you tell me how 
can I make it work?!?

Thank you very much, Mark




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

end of thread, other threads:[~2007-02-01  0:07 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-29 20:01 Easy question about Character manipulation mark
2007-01-29 20:17 ` Dmitry A. Kazakov
2007-01-29 21:30   ` Georg Bauhaus
2007-01-30  0:51     ` (see below)
2007-01-30  1:43       ` Georg Bauhaus
2007-01-30  2:09         ` (see below)
2007-01-30 20:18           ` Robert A Duff
2007-01-30 21:07             ` (see below)
2007-01-30 22:05               ` Robert A Duff
2007-01-31  3:07                 ` (see below)
2007-01-31 18:11               ` Jeffrey R. Carter
2007-01-31 21:02                 ` (see below)
2007-01-31 23:01                   ` Robert A Duff
2007-01-31 23:23                     ` (see below)
2007-01-31 23:46                   ` Jeffrey R. Carter
2007-02-01  0:07                     ` (see below)
2007-01-30 21:08             ` Dmitry A. Kazakov
2007-01-31 16:54           ` Georg Bauhaus
2007-01-31 17:24             ` (see below)
2007-01-30 12:28 ` Martin Krischik
2007-01-30 17:50   ` Jeffrey R. Carter
2007-01-30 20:24     ` Robert A Duff
2007-01-30 21:12       ` Dmitry A. Kazakov
2007-01-30 21:39         ` Robert A Duff
2007-01-31 10:55           ` Dmitry A. Kazakov
2007-01-31 11:22           ` Martin Krischik
2007-01-31 18:14       ` Jeffrey R. Carter

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