|
length
|
The length function returns the number of elements in a Vector.
When to use The length function should be used when you need to determine the
number of elements in a Structure, Dictionary, Directory, Matrix, Vector, Pair or List. This type of counting is called a shallow
count in which embedded collection objects are counted as one. An alternate function,
the count function, performs a deep count, which is used to determine
the total number of items in an object, including the items in embedded collection
objects.
(length vector) Returns the number of bindings in the Vector.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Example_PcodeVector_length_012
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types vector The Vector which you want to determine the length. Vector FltVector IntVector ShortVector NumVector ObjVector BitVector PcodeVector
Returns:
Examples
Argument Types
How do I contact the AIS team?