Hi,

think it can be assigned only to a Dimensioned array

Rgs
Sai

On Fri, May 27, 2011 at 3:37 AM, Darrin <djfi...@yahoo.com> wrote:

> Is it possible to store file pointers in a dynamic array? Or is there
> another way to pass a variable number of file pointers to various
> functions?
>
> The problem is that when attempting something like:
> file_ptrs<-1> = new_file_ptr
>
> The following error is returned:
> Invalid or uninitialised variable -- ZERO USED ,
> Var temp_file_ptr , Line    66 , Source process_gpw_node.b
> Trap from an error message, error message name = ZERO_USED
>
> (The variable is defined, it just can't be placed into a dynamic
> array.)
>
> The purpose for this is that when recursively walking an xml tree and
> importing data into jbase, I would like to open files and pass file
> pointers to between functions. The idea being, to avoid the overhead
> of opening and closing multiple files when processing each node.
> Otherwise, files would be opened and closed thousands of times a
> second. My assumption is that there would be some serious overhead to
> this.
>
> --
> Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to