comp.lang.ada
 help / color / mirror / Atom feed
* array and pointers
@ 2003-11-22  9:39 shoko
  2003-11-22 10:16 ` Gautier Write-only
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: shoko @ 2003-11-22  9:39 UTC (permalink / 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");



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

end of thread, other threads:[~2003-11-23  2:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-22  9:39 array and pointers shoko
2003-11-22 10:16 ` Gautier Write-only
2003-11-22 15:16 ` Steve
2003-11-22 17:45 ` Jeffrey Carter
2003-11-23  2:09   ` Hyman Rosen

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