Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugging
Message
From
28/05/2010 13:50:21
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
25/05/2010 13:55:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01465827
Message ID:
01466429
Views:
57
>>>" Thisform.imgVFPXPowered.Picture value is now (Expression could not be evaluated) and therefore not eaqual to earlier value.
>>>This is because the variable is out of scope and not invalid
>>>What I would like to do alter the watch window condition so that it will not stop when the value is "Expression could not be evaluated"
>>>I believe I have read a syntax to arrange this only thing I cant remember.
>>
>>When you're looking for a particular value for a variable rather than any change, you can begin by checking the variable type. For example:
>>
>>TYPE("nMyNum") = "N" and nMyNum = 37
>>
>>Tamar
>
>
>Hi,
>
>Unfortunately I am looking for the line of code which making a changement to the particular variable :(

You can copy it to _screen.myproperty, then use

iif(type("myvar")="N", myvar=_screen.myproperty, .t.)

and then every time its value changes, copy again...

Alternately, instead of that variable, use a property of some custom object with an _assign method (assuming you're looking for programmatic change), and set a breakpoint in the assign.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform