Default (GenericNamedArraylist property)
(Redirected from Default (FloatNamedArraylist property))
Value for Item to return when Name has no value (FloatNamedArraylist, NamedArraylist, and UnicodeNamedArraylist classes)
Default is a ReadWrite property that specifies the value to be returned if both of these conditions are satisfied:
- A requested item name is not present in the method FloatNamedArraylist, NamedArraylist, or UnicodeNamedArraylist.
- The UseDefault property is set to
True
.
Syntax
%currentItem = anyNal:Default anyNal:Default = newItem
Syntax terms
%currentItem | A variable of the anyNal item type, or one that can be converted to from that type; it will receive the current default. |
---|---|
anyNal | A FloatNamedArraylist, NamedArraylist, or UnicodeNamedArraylist object. |
newItem | A new value that matches the anyNal item type, or one that can be converted to that type; that will become the new default. |
Usage notes
- The initial value of the Default property varies with the array list item type:
Item type Value Float and Fixed 0 String, Longstring, and Unicode null string Object null reference