Data Access Worldwide Knowledge Base

Article ID 2279
Article Title INFO: Evaluating Expressions in Visual DataFlex 12
Article URL http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=2279
KBase Category VDF12
Date Created 12/14/2006
Last Edit Date 12/14/2006


Article Text
QUESTION:
I was debugging an application and could not find the Expression Evaluator anywhere... How do I evaluate expressions in 12?

ANSWER:
In Visual DataFlex 12.0 any expressions can be evaluated in the Watches window. Here is a summary of what you should do, but refer to the Help installed with Visual DataFlex 12 for more information on Debugging:

Adding Expressions to Watches
You can add a variable/expression to the watches window by clicking in the Name column of the last empty row, which will open it up for editing, and then typing in the name of the variable or the expression and pressing Enter.

You can also use drag and drop to add watches. Select the desired text from the Code Editor and drag the text using the mouse to the Watches window and drop it. The selected text will be added to the end of the list of watches.

Watches can also be added from the Local / Global Variables window as well as the Database Tables window. Select the specified variable/table column, right-click and select Add to Watches.

All that is added to the Watches window can be edited. So you can drag&drop some variable onto the Watches and then edit it to make it into an expression you need to evaluate.





Email this Article
Email this Article to a Colleague
Send Feedback on this Article to Data Access Worldwide
Copyright ©2010 Data Access Corporation. All rights reserved.

The information provided in the Data Access Technical Knowledge Base is provided "as is" without warranty of any kind. Data Access Corporation disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Data Access Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Data Access Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.