Immediate window

The immediate window is a four-page form, each page containing a table where you can enter variables or formulas to monitor their evaluation results. Formulas may include arithmetic expressions, expressions with 1C:Enterprise script functions and procedures, and functions and procedures from global and common modules.

Enter each formula in the first column of the table, in a separate row. The Value column displays the evaluation result. The Type column displays the expression type. If a formula has invalid format, an error message is displayed instead of the result.

Use the context menu to perform immediate window operations.

To copy the evaluation result to the clipboard, right-click the result and then click Copy Result.

You can specify values of the following types interactively: Number, String, Date, Boolean, and Undefined.

You can also specify a value by providing an expression whose result is assigned to the original expression. To enter an expression, use the Set expression as a value command. You can enter any 1C:Enterprise script expression that is acceptable as a right part of an assignment statement at the current script execution point. The expression can include local variables and properties.

To view the result in a new window, right-click the result and then click Show Values in Separate Window.

If the values included in the formulas change, refreshing the result is required. Right-click the result and then click Recalculate or Recalculate All.

If an expression has String type, or it is a value collection, or an array, the Show value in a new window command bar button becomes available. It displays the number of collection items, while each row displays the collection item index.

You can export the immediate window content to a text or spreadsheet document.

1C:Enterprise Developer's Community