array limits

John Esak john at valar.com
Wed Apr 14 21:20:54 PDT 2004


Well, I kind of did the usual try-it-and-see approach... why wait for Ken to
look it up?

I had no problem building the following array

   dim array[32767]

I got an error trying to build

   dim array[32768]

I had no problem building

   dim array[32767](32767)

so I tried

   dim arry[32767](32768)

which gave me an Out of Memory error...

I increased PFTOKSIZE to huge value... still got memory error. So, I would
say that 32767 is the valid high max for each of these two values.

As for how many arrays can be on a table. I don't know the answer, nor a way
to easily test it. Sorry.

John

By the way doing a table that has nothing on it but


   dim array[32767](9999)  or one that has   dim array[32767](32767)

does not change the size of the token table built.  It is 262269.




> -----Original Message-----
> From: filepro-list-bounces at lists.celestial.com
> [mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of Joe Chasan
> Sent: Wednesday, April 14, 2004 2:30 PM
> To: filepro-list at magnatechonline.com
> Subject: array limits
>
>
> While debugging some wierd array problem recently, I checked docs and
> nowhere do I see array limit specifications.
>
> How large an array byte-wise?  How many elements?  How many arrays per
> process table?
>
> I thought I rembered seeing at least size limit way back, but can't
> find it in 5.0 docs.
>
> Anyone have that info?
>
> --- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---
> -Joe Chasan-                      Magnatech Business Systems, Inc.
> joe at magnatechonline.com           Hicksville, NY - USA
> http://www.MagnatechOnline.com    Tel.(516) 931-4444/Fax.(516) 931-1264
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list



More information about the Filepro-list mailing list