UseDefault (GenericNamedArraylist property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 1: Line 1:
<span style="font-size:120%; color:black"><b><section begin=dpl_desc/>Return the Default value?<section end=dpl_desc/></b></span>
{{Template:GenericNamedArraylist:UseDefault subtitle}}
[[Category:NamedArraylist methods|UseDefault property]]
<!--DPL?? Category:NamedArraylist methods|UseDefault property: Return the Default value?-->
<p>
UseDefault is a member of the [[NamedArraylist class]].
</p>


This ReadWrite property indicates whether an attempted retrieval of an item
This ReadWrite property indicates whether an attempted retrieval of an item
Line 14: Line 9:
Its initial value is <tt>False</tt>.
Its initial value is <tt>False</tt>.
==Syntax==
==Syntax==
  %bool = %namrayl:UseDefault
{{Template:GenericNamedArraylist:UseDefault syntax}}
 
===Syntax terms===
  %namrayl:UseDefault = %bool
===Syntax Terms===
<dl>
<dl>
<dt><i>%bool</i>
<dt><i>%bool</i>
Line 28: Line 21:


</dl>
</dl>
==See also==
{{Template:GenericNamedArraylist:UseDefault footer}}

Revision as of 20:53, 28 January 2011

Flag indicating whether or not Item returns the Default value when name has no value (FloatNamedArraylist, NamedArraylist, and UnicodeNamedArraylist classes)


This ReadWrite property indicates whether an attempted retrieval of an item that is not in the NamedArraylist should return the Default property value.

UseDefault will return, or may be assigned, only the values True or False. Its initial value is False.

Syntax

%currentBoolean = anyNal:UseDefault anyNal:UseDefault = newBoolean

Syntax terms

%bool
A declared enumeration object of type Boolean to contain the returned or assigned value (True or False) of the UseDefault property. For more information about these enumerations, see Using Boolean enumerations.
%namrayl
A NamedArraylist object.

See also