GenericNamedArraylist methods syntax
The syntax for each of the GenericNamedArraylist 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 GenericNamedArraylist methods.
anyNal:Audit[( [itemFunction], [NumWidth= number], [Separator= string], - [Start= number], [MaxItems= number], [Label= string], - [NameWidth= number])]
%number = anyNal:Average[( [itemFunction])]
%number = anyNal:Count
%number = anyNal:CountSubset( selectionCriterion)
%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
%currentItem = anyNal:ItemByNumber( number) anyNal:ItemByNumber( number) = newItem
%currentItem = anyNal:LastItem anyNal:LastItem = newItem
%item = anyNal:MaximumItem[( [itemFunction])]
%item = anyNal:MinimumItem[( [itemFunction])]
anyNal:Print[( [itemFunction], [NumWidth= number], [Separator= string], - [Start= number], [MaxItems= number], [Label= string], - [NameWidth= number])]
%al = anyNal:SortNew[( [sortOrder])]
%number = anyNal:StandardDeviation[( [itemFunction])]
%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])]