Default (GenericNamedArraylist property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
(No difference)

Revision as of 23:09, 31 January 2011

Value for Item to return when Name has no value (FloatNamedArraylist, NamedArraylist, and UnicodeNamedArraylist classes)


This ReadWrite property indicates the value to be returned if a requested item name is not in the NamedArraylist and the UseDefault property is set to True.

Syntax

%currentItem = anyNal:Default anyNal:Default = newItem

Syntax terms

%val A value that matches the NamedArraylist item type or one that can be converted to that type.
%namrayl A NamedArraylist object.

Usage notes

  • The initial value of the Default property varies with the NamedArraylist item type:
    ValueItem type
    0>Float and Fixed
    null string>String, Longstring, and Unicode
    null reference>object

See also