Open [Instant window]
1) shortcut
CTRL + D, I
2) menu
3) in the [command window], enter immed
Open the [command window]
1) shortcut
CTRL + W,
2) menu
3) in the [Instant window], Enter cmd
4) in the [Instant window], enter> to directly execute the command
[Real-Time Window] variable Calculation
Command Format: 1) variable 2) expression 3 )? Expression 4) Debug. Print expression 5) Function
Tips for [Instant window] & [command window:
1) clear content command
2) In tag mode, it is equivalent to a recommended text editor for convenient operations.
3) intelliisense
3) use the up key and down key to retrieve the previously entered command and execute it.
4) press Ctrl + up/down to move the cursor in the window
Problem list
1) Debug. evaluatestatement
= Enter the evaluatestatement command to determine whether to interpret the equal sign (=) as a comparison operator or a value assignment operator. In the "instant" window, the equal sign (=) is interpreted as the value assignment operator. For example, the command> Debug. evaluatestatement (VARA = varb) will assign the variable Vara the value of the variable varb.
In contrast, in the "command" window, the equal sign (=) is interpreted as a comparison operator. Values cannot be assigned in the "command" window. For example, if the VARA and varb variables have different values, the command> Debug. evaluatestatement (VARA = varb) returns false.
The following prompt is displayed during actual execution. The reason is unknown.
Reference List:
Http://msdn.microsoft.com/zh-cn/library/f177hahy%28v=VS.100%29.aspx
Http://msdn.microsoft.com/zh-cn/library/c785s0kz%28v=VS.80%29.aspx