Inline Variable dialog box

From RAD Studio
Jump to: navigation, search

Go Up to Refactor Menu


Refactoring > Inline Variable

The dialog box reports the number of variable occurrences that the Inline Variable command will be applied to. Click OK to complete the changes.

You can open the Inline Variable dialog box from the Refactor main menu, or by using the Refactor > Inline Variable command on a local variable in the Delphi Code Editor.

Note: The variable that you select should not be updated later in the source code. If it is, the error message "Variable index is accessed for writing." opens.

Note: This feature is available for implementation projects only.

Note: This command is only available while working in the Delphi Code Editor, not in the Diagram View.

Buttons

OK

Creates the inline variable and closes the dialog box.

Cancel

Discards all changes and closes the dialog box.

See Also