Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Re-try: Passing host arrays to subroutines: Pro*C

Re: Re-try: Passing host arrays to subroutines: Pro*C

From: Allen Kirby <akirby_at_att.com>
Date: 1997/01/08
Message-ID: <32D3CAA3.3C8E@att.com>#1/1

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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US