Tok Size bigger then Prc Size

Kenneth Brody kenbrody at bestweb.net
Thu Jan 4 05:34:59 PST 2007


Quoting Scott Walker (Wed, 3 Jan 2007 21:11:21 -0500):

> I have one input process table that when I tokenize it with rcabe the
> tok file is much bigger (twice the size) as the prc table.
>
> It works fine and has for years but I have always wondered why the tok
> is bigger then the prc.  I think this is the only one that I have like
> this.
>
> I have a lot of large arrays in this processing table.  Would that cause
> it?
>
> I think I asked this before and never got a response.  Any ideas?

There's no correlation between the size of the prc source code and
the tok conpiled code.  It's what the code contains and what it
compiles to that matters.

Try the 1-line prc:

    dim array(500)(10,*):aa

This 28-byte prc file compiles to a 4K tok file, as you have defined
500 dummy fields which are included in the tok file, even though there
are only 2 bytes of actual compiled code.

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list