DumpVars

All validation programs except Analyzer

You must be set up for debugging before you can use DumpVars. See page Appendix G: Debug.

Shows External Routine variables and their current values. It does not show local variables.

Place the rule on the segment or element where you would like Validator to display the variables and values. During validation, you can view these messages or suppress them.

Format of Parameters

Variable Variable Variable …

Where:

Variable A variable that is to have its current value displayed. Each additional variable can be separated by a space.

If no variable is specified, all variables are displayed.

Specific array entries may not be dumped, though the entire array can be.  For example, ListTotals(“1”) is invalid, but ListTotals is OK, and causes each member to be dumped.

To view the dumped variables, see page Appendix G: Debug.

Example. This rule displays the current contents of two variables:

The output in EDISIM Validator: