Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

length (List) → number

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

Example:

Code Block
<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>
Image Added

 

To view this example in the library, see (https://openbrim.org/app/?incubator=1&author=ParamML_Examples_OpenBrIM+Platform&obj=objid51iqd3mm8yf5bxo4skzrgl )