Default (GenericNamedArraylist property): Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{Template:GenericNamedArraylist:Default subtitle}} | |||
Default | |||
This ReadWrite property indicates the value to be returned if a | This ReadWrite property indicates the value to be returned if a | ||
Line 11: | Line 6: | ||
to <tt>True</tt>. | to <tt>True</tt>. | ||
==Syntax== | ==Syntax== | ||
{{Template:GenericNamedArraylist:Default syntax}} | |||
===Syntax terms=== | |||
===Syntax | |||
<dl> | <dl> | ||
<dt><i>%val</i> | <dt><i>%val</i> | ||
Line 23: | Line 16: | ||
</dl> | </dl> | ||
==Usage | ==Usage notes== | ||
<ul> | <ul> | ||
<li>The initial value of the Default property varies with the | <li>The initial value of the Default property varies with the | ||
Line 34: | Line 27: | ||
</table> | </table> | ||
</ul> | </ul> | ||
==See also== | |||
{{Template:GenericNamedArraylist:Default footer}} |
Revision as of 20:53, 28 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:
Value Item type 0 >Float and Fixed null string >String, Longstring, and Unicode null reference >object