Retrieves the number of elements in a container.
- int conLen(container container)
- Parameter: container
- Description: The container in which to count the number of elements.
- The number of elements in the container.
static void conLenExample(Args _arg)
c = conins(["item1", "item2"], 1);
for (i = 1 ; i <= conLen(c) ; i++)
print conPeek(c, i);
My above blog is based on Microsoft's Official information.
I hope this blog about 'Microsoft Dynamics AX 2012 R2 - conLen Function' was informative. Please feel free to leave your comments.