/
length (List)

length (List)

 

length (List) → number

This function is used for getting the item count or length of a list.

Example:

<O N="lengthObject1" T="Project" Category="Functions" TransAlignRule="1"> <!-- created by ParamML Examples on 8/22/2023 --> <P N="List1" V="[0,1,2,3,4,5,6,7,8,9]" /> <P N="Length" V="length(List1)" /> </O>
Debug Trace

 

To view this example in the library, see (Engineering on Cloud )

 

Related content

linel (line)
linel (line)
More like this
linesplit (line, ListofRelativeDistances) or linesplit (line, NumberofSegments)
linesplit (line, ListofRelativeDistances) or linesplit (line, NumberofSegments)
Read with this
sum (List, optional Startindex, optional endindex)
sum (List, optional Startindex, optional endindex)
More like this
getlistitem (List1, Index1, Index2) , List[Index1][Index2]
getlistitem (List1, Index1, Index2) , List[Index1][Index2]
More like this
suml(List) or suml(List of list , x[index])
suml(List) or suml(List of list , x[index])
More like this
map(Loop,x.parameter) or map(List,x.parameter)
map(Loop,x.parameter) or map(List,x.parameter)
More like this