RAD Studio (Common)
Inline Variable dialog box

RefactoringInline 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 Refactoring main menu, or by using the RefactorInline 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

Creates the inline variable and closes the dialog box.  
Discards all changes and closes the dialog box.  
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!