HUGE tok tables
Nancy Palmquist
nlp at vss3.com
Fri Dec 3 12:58:46 PST 2010
Scott.
Are we talking bytes as displayed in the directory or the size you need
to set PFTOKSIZE to get it to work? In this case, I think they are related.
PFTOKSIZE, by my understanding, includes allocations for variables,
arrays, long variables and dummies.
I discovered long ago that whenever possible you should assign a length
to a variable or it defaults much longer.
I just tried this test:
DIM ARRAY(4000)(4000)
put this line in a table and tokenized it. It was 32 K
Took out the DIM and put END and tokenized it. It was 1K.
So I guess in the actual tok table it allocates includes space for
variables, such as arrays.
How do you like that? Learned something new today.
Nancy
On 12/3/2010 3:10 PM, Scott Nelson wrote:
> fP 5.0.14 on SCO OpenServer 6
>
>
> I see that most tok tables are smaller than their prc table. On one
> file that happens to be a virtual file, any prc that I tok is Many times
> larger, and there is other odd activity, like extremely slow lookups.
> The automatic table is empty.
>
> What could cause the toks to be so much larger?
>
> Thanks,
>
>
> Scott
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
--
Nancy Palmquist MOS& filePro Training Available
Virtual Software Systems Web Based Training and Consulting
PHONE: (412) 835-9417 Web site: http://www.vss3.com
More information about the Filepro-list
mailing list