Path: newssvr20.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!prodigy.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!sjc70.webusenet.com!news.webusenet.com!news.isc.org!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: a_person_uk@yahoo.co.uk (Simon Davies)
Newsgroups: comp.databases.oracle.misc
Subject: Re: Returning an array from a procedure/ function
Date: 7 Jul 2003 02:48:23 -0700
Organization: http://groups.google.com/
Lines: 18
Message-ID: <6238724c.0307070148.b56dc11@posting.google.com>
References: <6238724c.0307040746.65536382@posting.google.com> <mn4Oa.9373$ZT5.3228@news2.east.cox.net>
NNTP-Posting-Host: 137.44.17.64
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1057571304 16474 127.0.0.1 (7 Jul 2003 09:48:24 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 7 Jul 2003 09:48:24 GMT
Xref: newssvr20.news.prodigy.com comp.databases.oracle.misc:129086

"Ryan" <rgaffuri@cox.net> wrote in message news:<mn4Oa.9373$ZT5.3228@news2.east.cox.net>...
 
> im assuming your coming from an Object oriented backgroudn because
> 
> MyArray ARRAY := ARRAY('','','','','','','','','','','','','','','');
> 
> as a constructor. its not necessary. Arrays are wrapped in Oracle.
> Initialization is taken care of for you.

OK. I have a function which returns an array working. However the code
doesn't work when I use dynamically sized arrays (using
array.extend;). This is because the array being returned is a
different size to the array which I am assigning the result of the
function to. How can I get around this problem?

Cheers,

Simon.
