DECLARE GLOBAL / EXTERN

Bruce Easton bruce at stn.com
Fri Aug 10 09:35:37 PDT 2007


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.
>
> Ken?
>
> --- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---
> -Joe Chasan-                      Magnatech Business Systems, Inc.

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.

Bruce

Bruce Easton
STN, Inc.



More information about the Filepro-list mailing list