Share via


Evaluate Statement Command

Evaluates and displays the given statement.

Debug.EvaluateStatement text

Arguments

  • text
    Required. The statement to evaluate.

Remarks

The Evaluate Statement command is similar to the Print command, except that it evaluates statements rather than expressions. That is, it checks whether an equal sign (=) is being used as a variable assignment or a test for equality.

Example

>Debug.Evaluate a+b

See Also

Visual Studio Commands with Arguments | Command Window | Find/Command Box | Pre-defined Visual Studio Command Aliases