DECLARE GLOBAL / EXTERN

Kenneth Brody kenbrody at bestweb.net
Fri Aug 10 09:53:13 PDT 2007


Quoting Bruce Easton (Fri, 10 Aug 2007 12:35:37 -0400):

> Joe Chasan wrote Friday, August 10, 2007 12:03 PM:
> >
> > On Sat, Jul 28, 2007 at 12:10:28PM -0400, GCC Consulting wrote:
> > > ...
> > > Also, in many cases, when declaring long variables that are related
> > > to a real field in the file, I'll use
> > > Declare foobar(len(xx),edit(xx)).  This will keep me from
> > > having to change
> > > this variable is I need to change the associated field size.
> >
> > I'm curious about this.  If one is using quickstart, what do the tok's
> > contain?  I'd wager, based on testing, that the variables have the
> > len/edit at the time the tok's were compiled, and not when they are
> > run in rclerk - this negating any advantage of this method.
>
> Well, when quickstart is in use, even if "the variables have the
> len/edit at the time tok's were compiled," would it not still be
> simpler to do a blanket backup and retok, than to have to inspect
> and modify declarations in one or more tables?
>
> Very interesting question, Joe - I have to try this out.

Strange...  I haven't seen Joe's post, but I got Bruce's reply.  (I'll
have to check if Joe's somehow got caught in my spam filters.)

In any case...

The tok file will contain the length/edit at the time of compile.

--
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