DECLARE GLOBAL / EXTERN
bruce at stn.com
bruce at stn.com
Sat Jul 28 10:32:06 PDT 2007
Richard Kreiss wrote Friday, July 27, 2007 2:14 PM:
[..]
>
> 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.
>
> Richard Kreiss
> GCC Consulting
>
Thanks, Richard - great idea! I sometimes find myself
removing length and edit declarations from regular
dummy field assignments used against real fields
where they are not needed for the same purpose. Also,
I often see where people use the auto table,
and then unnecessarily re-declare dummy fields in
tables that are called with the auto table (ignoring
filepro's warning when saving the table).
Bruce
Bruce Easton
STN, Inc.
More information about the Filepro-list
mailing list