comp.lang.ada
 help / color / mirror / Atom feed
From: Stribor40 <ikamzic@gmail.com>
Subject: Re: array of string
Date: Fri, 3 Oct 2014 19:01:25 -0700 (PDT)
Date: 2014-10-03T19:01:25-07:00	[thread overview]
Message-ID: <0f2849f9-9da3-4429-ad80-5e58a0f8bcff@googlegroups.com> (raw)
In-Reply-To: <017bf59f-074b-470e-b959-88e0a484bf63@googlegroups.com>

On Friday, 3 October 2014 21:29:19 UTC-4, Stribor40  wrote:
> I tried this...
> 
> 
> 
>  type Array_Type is array (1 .. 6, 1 .. 3) of Character;
> 
>  myArray : Array_Type; 
> 
> 
> 
>  myArray(1,1..3) := "abc"
> 
> 
> 
> my compiler was mad at me because of this.....few subscripts in array reference

making this call put(myArray(1,1)) i was able to get "a" out but how do i get "abc" out to the screen?

  reply	other threads:[~2014-10-04  2:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-03 23:29 array of string Stribor40
2014-10-04  0:50 ` Jerry
2014-10-04  1:07   ` Brad Moore
2014-10-04  1:19   ` Stribor40
2014-10-04  1:29     ` Stribor40
2014-10-04  2:01       ` Stribor40 [this message]
2014-10-04  7:14       ` Simon Wright
2014-10-04  8:32       ` Dmitry A. Kazakov
2014-10-04 14:15         ` AdaMagica
2014-10-04 15:20           ` Dmitry A. Kazakov
2014-10-06 16:58             ` Adam Beneschan
2014-10-04  3:09     ` Shark8
2014-10-04  5:33     ` Brad Moore
2014-10-07  1:06 ` brbarkstrom
2014-10-07 16:06   ` Use of bounded strings? (Was: array of string) Jacob Sparre Andersen
2014-10-07  2:08 ` array of string Jerry
2014-10-07 16:49 ` brbarkstrom
replies disabled

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