RAD Studio (Common)
ContentsIndex
PreviousUpNext
Inline Variable dialog box

RefactorInline 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 Refactoring | Inline Variable command on a local variable in the Delphi Code EditorVisual Studio 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
Visual Studio 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.  
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!