DECLARE (was Re: Filepro-list Digest, Vol 78, Issue 28)

Boaz Bezborodko boaz at mirrotek.com
Thu Jul 22 13:20:57 PDT 2010



On 7/22/2010 3:42 PM, Howard Wolowitz wrote:
>  On 7/22/2010 3:40 PM, Boaz Bezborodko wrote:
>>
>> 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
>> _______________________________________________
>> Filepro-list mailing list
>> Filepro-list at lists.celestial.com
>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>>
> You are wrong.  Dim (dimension) works that way but Declare doesn't
>
> Howie
>

It may be that I was looking at a DIMed variable.

Contrary to my wife's assertions, I am perfectly capable of admitting 
when I'm wrong.

Boaz

P.S.  I just gloated to my brother that I got an e-mail from Howard 
Wolowitz...We're both fans of The Big Bang Theory.


More information about the Filepro-list mailing list