comp.lang.ada
 help / color / mirror / Atom feed
From: shoko2004@hotmail.com (shoko)
Subject: unconstrained array question
Date: 22 Nov 2003 09:39:03 -0800
Date: 2003-11-22T09:39:03-08:00	[thread overview]
Message-ID: <4948f537.0311220939.7e05afbf@posting.google.com> (raw)

hi
I have few question to ask:
1.i have a Character array
can i print the all array wich is a string at once or do i have to
pront each item?
2.i have unconstrained array of Character i want to insert a string
when the program runs with the function get for example
how can i do it the compiler telling me i need to define the array
first:

------------------------------------------------------
type Arr is Array(integer range<>) of Character ;
type n_array_Ptr is access Arr;
n:n_array_Ptr ;
s:string(1..100);
begin
n:= new Arr'(Get(s));
-----------------------------------------



             reply	other threads:[~2003-11-22 17:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-22 17:39 shoko [this message]
2003-11-22 18:11 ` unconstrained array question Marius Amado Alves
2003-11-23  7:12   ` shoko
2003-11-23  8:42     ` tmoran
2003-11-23 12:16     ` Marius Amado Alves
2003-11-23 18:03       ` shoko
2003-11-23 20:16         ` Marius Amado Alves
2003-11-24 17:40           ` shoko
2003-11-24 18:16             ` Jeffrey Carter
  -- strict thread matches above, loose matches on Subject: below --
2003-11-24 18:11 amado.alves
replies disabled

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