FloatNamedArraylist methods syntax

From m204wiki
Jump to navigation Jump to search

The syntax for each of the FloatNamedArraylist 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 FloatNamedArraylist methods.

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

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

%outFltNal = fltNal:Copy

%number = anyNal:Count

%number = anyNal:CountSubset( selectionCriterion)

%outFltNal = fltNal: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

%subscript = fltNal:FirstItemName

%currentItem = fltNal:Item( number) fltNal:Item( number) = newItem Throws ItemNotPresent

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

%currentItem = anyNal:LastItem anyNal:LastItem = newItem

%subscript = fltNal:LastItemName

%number = fltNal:Maximum[( [itemFunction])]

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

%number = fltNal:Minimum[( [itemFunction])]

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

%subscript = fltNal:NameByNumber( number)

%fltNal = [%(FloatNamedArraylist Of itemType):]New

%number = fltNal:Number( subscript)

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

[%count =] fltNal:RemoveItem( number)

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

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

%outFltNal = fltNal: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])]