Default (GenericNamedArraylist property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 8: Line 8:
{{Template:GenericNamedArraylist:Default syntax}}
{{Template:GenericNamedArraylist:Default syntax}}
===Syntax terms===
===Syntax terms===
<dl>
<table class="syntaxTable">
<dt><i>%val</i>
<tr><th><i>%val</i></th>
<dd>A value that matches the NamedArraylist
<td>A value that matches the NamedArraylist item type or one that can be converted to that type. </td></tr>
item type or one that can be converted to that type.
<tr><th><i>%namrayl</i></th>
<dt><i>%namrayl</i>
<td>A NamedArraylist object.</td></tr>
<dd>A NamedArraylist object.
</table>
 
</dl>
==Usage notes==
==Usage notes==
<ul>
<ul>

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