Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Re-try: Passing host arrays to subroutines: Pro*C
Denis M. Goddard wrote:
OOPS - guess I should have read your next message, huh? I thought
something was missing. Anyway:
>
> num_rows = Fetch_Data ( "Foo",
> &DB_Rows /* ??? is this close to correct ???
Since DB_Rows is declared as an array, you don't need the & in front of it unless you want the identifier DB_Rows to be modified by Fetch_Data to point to a different array. Since I know that's not what you want, just pass it without the & - the name of the array is by definition a pointer to the array.
-- --- Allen Kirby AT&T ITS Production Services akirby_at_att.com Alpharetta, GA.Received on Wed Jan 08 1997 - 00:00:00 CST