comp.lang.ada
 help / color / mirror / Atom feed
From: shoko2004@hotmail.com (shoko)
Subject: array and pointers
Date: 22 Nov 2003 01:39:46 -0800
Date: 2003-11-22T01:39:46-08:00	[thread overview]
Message-ID: <4948f537.0311220139.570c8a4e@posting.google.com> (raw)

hi
i am new in ada
my question is:
i have a function that returns unconstrained array
i am tring to create a pointer to the new array 
could somone help me:

what is wwrong in the following code?:

type Arr is Array(Item range<>) of Integer;
a:Arr:=(1,2,2,2,3,4,3) ; 
type n_array_Ptr is access Arr;
n: n_array_Ptr;

begin
     n:= new Array_filter(a); 
     
     put_line("hello");



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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-22  9:39 shoko [this message]
2003-11-22 10:16 ` array and pointers Gautier Write-only
2003-11-22 15:16 ` Steve
2003-11-22 17:45 ` Jeffrey Carter
2003-11-23  2:09   ` Hyman Rosen
replies disabled

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