Element Properties : Understanding Elements : Textual Elements : Default Values for Textual Elements

Default Values for Textual Elements

Textual elements include a default value field. The default value is either a literal value or const. This default value can be reset at runtime. For more information about resetting the default, see Resetting Default Values for Elements.

The Default Value field is available in the following textual elements:

In the case of Data Items and User Defined Type, the default is available for the following data types:

Limitation
Default value is NOT available for the following elements:
For the record’s fields, all of the rules of default values apply as for single elements. For unions, there is no default value for each field. (In runtime, fields are set to the default value according to the type.) For arrays of basic types, the default value is a single value that is applied to all elements in the array.