UseDefault (GenericNamedArraylist property)

From m204wiki
Revision as of 09:17, 19 May 2011 by Goff (talk | contribs) (fix "using boolean enumerations" link)
Jump to navigation Jump to search

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