DECLARE (was Re: Filepro-list Digest, Vol 78, Issue 28)
Boaz Bezborodko
boaz at mirrotek.com
Thu Jul 22 12:40:10 PDT 2010
On 7/22/2010 3:09 PM, Kenneth Brody wrote:
> On 7/22/2010 2:45 PM, Boaz Bezborodko wrote:
> [...]
>> Have you used Debug to go through it line by line? Filepro won't
>> recognize a declared variable until it hits the DECLARE command on a
>> line. If so then the logical conclusion is that it must have hit this
>> variable before the DECLAREs you are looking at. Debug will let you see
>> if it ever happens before getting to line 14.
>
> DECLARE generates no executable code, and need not be reached during
> execution.
>
I distinctly remember doing some debugging last week and trying to get
the value of a declared variable before debug hit the line where it was
declared. It gave me an error. Once I stepped through past the Declare
statement it gave me the value of the very same variable.
Boaz
More information about the Filepro-list
mailing list