"compile" vs. "tokenize" (was Re: Password Problem)

Bob Stockler bob at trebor.iglou.com
Tue Jun 1 12:18:48 PDT 2004


On Tue, Jun 01, 2004 at 01:42:15PM -0500, Mike Schwartz wrote:
| 
| 	I always thought that if ABE was *not* set to ASCII, then when you
| saved a .PRC, it "tokenized" it and saved it as a non-human readable token
| form.  So, like you, I've always been puzzled that quickstart tables were
| named .tok, when they were some other kind of compiled code.

If ABE != ASCII, processing tables are saved _encoded_ (as
opposed to compiled).  The when the table is executed it
first is decoded, then compiled, then actually executed.

Note that "prc" tables have the same number of bytes whether
saved in ASCII or encoded.  OTOH, "tok" tables will generally
(always?) be (much?) shorter than the "prc" table.

Bob

PS - Another thing about "tok" tables.  Executing the UNIX/Linux
     command "strings" on them discloses all of the quoted strings
     used in the table, plus the names of all declared variables.
     None of these are visible in "prc" tables saved encoded.

-- 
Bob Stockler - bob at trebor.iglou.com
Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus.
Fully functional (time-limited) demos available by email request (specify OS).


More information about the Filepro-list mailing list