UseDefault (GenericNamedArraylist property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (match syntax table to syntax template, tags and edits)
Line 1: Line 1:
{{Template:GenericNamedArraylist:UseDefault subtitle}}
{{Template:GenericNamedArraylist:UseDefault subtitle}}
<var>Flag</var> is a ReadWrite property indicates whether an attempted retrieval of an item that is not in the <var>[[FloatNamedArraylist class|FloatNamedArraylist]]</var>, <var>[[NamedArraylist class|NamedArraylist]]</var>, or <var>[[UnicodeNamedArraylist class|UnicodeNamedArraylist]]</var> should result in request cancellation of return the <var>[[Default (NamedArraylist property)|Default]]</var> property value.


This ReadWrite property indicates whether an attempted retrieval of an item
that is not in the NamedArraylist should return the
[[Default (NamedArraylist property)|Default]] property value.
UseDefault will return, or may be assigned, only the
values <tt>True</tt> or <tt>False</tt>.
Its initial value is <tt>False</tt>.
==Syntax==
==Syntax==
{{Template:GenericNamedArraylist:UseDefault syntax}}
{{Template:GenericNamedArraylist:UseDefault syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%bool</th>
<tr><th>%currentBoolean</th>
<td>A declared enumeration object of type Boolean to contain the returned or assigned value (<tt>True</tt> or <tt>False</tt>) of the UseDefault property.
<td>A declared enumeration object of type Boolean into which the current value (<code>True</code> or <code>False</code>) will be returned.
<tr><th>anyNal</th>
<td>A <var>FloatNamedArraylist</var>, <var>NamedArraylist</var>, or <var>UnicodeNamedArraylist</var> object.</td></tr>
<tr><th>newBoolean</th>
<td>A boolean literal or declared enumeration, to set the new value of <var>UseDefault</var> property.</td></tr>
</table>
 
==Usage Notes==
<ul><li><var>UseDefault</var> will return, or may be assigned, only the boolean values <code>True</code> or <code>False</code>.  Its initial, default value is <code>False</code>.
</ul>


For more information about these enumerations, see [[Using Boolean enumerations]]. </td></tr>
<tr><th>%namrayl</th>
<td>A NamedArraylist object.</td></tr>
</table>
==See also==
==See also==
<ul><li>For more information about these enumerations, see [[Using Boolean enumerations]].
</ul>
{{Template:GenericNamedArraylist:UseDefault footer}}
{{Template:GenericNamedArraylist:UseDefault footer}}

Revision as of 06:08, 11 March 2011

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

Flag is a ReadWrite property indicates whether an attempted retrieval of an item that is not in the FloatNamedArraylist, NamedArraylist, or UnicodeNamedArraylist should result in request cancellation of return the Default property value.

Syntax

%currentBoolean = anyNal:UseDefault anyNal:UseDefault = newBoolean

Syntax terms

%currentBoolean A declared enumeration object of type Boolean into which the current value (True or False) will be returned.
anyNal A FloatNamedArraylist, NamedArraylist, or UnicodeNamedArraylist object.
newBoolean A boolean literal or declared enumeration, to set the new value of UseDefault property.

Usage Notes

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

See also