RAD Studio (Common)
ContentsIndex
PreviousUpNext
Declare Field

RefactorDeclare Field 

Use this dialog box to declare a field in your code.

Item 
Description 
Current Class  
Displays the class from which the field will be derived.  
Field Name  
Displays the name of the field to be declared. By default the name you typed in the Code Editor is displayed.
If you enter an invalid name in this field, such a reserved word, an exclamation icon Exclamation Icon is displayed in the dialog box, prompting you to correct it.  
Type  
Specifies the data type of the field.  
Array  
Specifies that the field should be declared a an array.  
Dimensions  
Specifies the dimensions for the array.  
Visibility  
Specifies the accessibility of the field.
If the value in Field Name conflicts with an existing field name in the same scope, the Refactorings dialog box is displayed, indicating the conflict.  
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!