UnicodeNamedArraylist methods syntax

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The syntax for each of the UnicodeNamedArraylist class methods is shown below.

Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of UnicodeNamedArraylist methods.

anyNal:Audit[( [itemFunction], [NumWidth= number], [Separator= string], - [Start= number], [MaxItems= number], [Label= string], - [NameWidth= number])]

%number = anyNal:Average[( [itemFunction])]

%outUniNal = uniNal:Copy

%number = anyNal:Count

%number = anyNal:CountSubset( selectionCriterion)

%outUniNal = uniNal:DeepCopy

%currentItem = anyNal:Default anyNal:Default = newItem

%item = anyNal:FindNextItem( selectionCriterion, [Start= number]) Throws ItemNotFound

%number = anyNal:FindNextItemNumber( selectionCriterion, [Start= number])

%item = anyNal:FindPreviousItem( selectionCriterion, [Start= number]) Throws ItemNotFound

%number = anyNal:FindPreviousItemNumber( selectionCriterion, [Start= number])

%currentItem = anyNal:FirstItem anyNal:FirstItem = newItem

%name = uniNal:FirstItemName

%currentItem = uniNal:Item( unicode) uniNal:Item( unicode) = newItem Throws ItemNotPresent

%currentItem = anyNal:ItemByNumber( number) anyNal:ItemByNumber( number) = newItem

%currentItem = anyNal:LastItem anyNal:LastItem = newItem

%name = uniNal:LastItemName

%unicode = uniNal:Maximum[( [itemFunction])]

%item = anyNal:MaximumItem[( [itemFunction])]

%unicode = uniNal:Minimum[( [itemFunction])]

%item = anyNal:MinimumItem[( [itemFunction])]

%name = uniNal:NameByNumber( number)

%uniNal = [%(UnicodeNamedArraylist Of itemType):]New

%number = uniNal:Number( name)

anyNal:Print[( [itemFunction], [NumWidth= number], [Separator= string], - [Start= number], [MaxItems= number], [Label= string], - [NameWidth= number])]

[%count =] uniNal:RemoveItem( unicode)

%al = anyNal:SortNew[( [sortOrder])]

%number = anyNal:StandardDeviation[( [itemFunction])]

%outUniNal = uniNal:SubsetNew( selectionCriterion)

%number = anyNal:Sum[( [itemFunction])]

anyNal:Trace[( [itemFunction], [NumWidth= number], [Separator= string], - [Start= number], [MaxItems= number], [Label= string], - [NameWidth= number])]

%currentBoolean = anyNal:UseDefault anyNal:UseDefault = newBoolean

%number = anyNal:Variance[( [itemFunction])]