comp.lang.ada
 help / color / mirror / Atom feed
From: shoko2004@hotmail.com (shoko)
Subject: Re: unconstrained array question
Date: 22 Nov 2003 23:12:54 -0800
Date: 2003-11-22T23:12:54-08:00	[thread overview]
Message-ID: <4948f537.0311222312.43d843c5@posting.google.com> (raw)
In-Reply-To: mailman.44.1069524683.3110.comp.lang.ada@ada-france.org

this what i am trying to do 
the compiler say:
"expected type arr defined"

----------------------------------------------------
procedure test1
type Arr is Array(Integer range<>) of Character; 
type n_array_Ptr is access Arr; 
n:n_array_Ptr ; 
Input_Line : String (1..256);
last : natural; 

begin
   Get_LIne(Input_Line,LAST);
   n:=new Arr'(Input_Line);
end test1;
-----------------------------------------------------------
what is wrong in this code?



  reply	other threads:[~2003-11-23  7:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-22 17:39 unconstrained array question shoko
2003-11-22 18:11 ` Marius Amado Alves
2003-11-23  7:12   ` shoko [this message]
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