Default (GenericNamedArraylist property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 9: Line 9:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th><i>%val</i></th>
<tr><th>%val</th>
<td>A value that matches the NamedArraylist item type or one that can be converted to that type. </td></tr>
<td>A value that matches the NamedArraylist item type or one that can be converted to that type. </td></tr>
<tr><th><i>%namrayl</i></th>
<tr><th>%namrayl</th>
<td>A NamedArraylist object.</td></tr>
<td>A NamedArraylist object.</td></tr>
</table>
</table>

Revision as of 17:29, 4 February 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