conIns Function [AX 2012]
Updated: December 13, 2013
Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
Inserts one or more elements into a container.
container conIns (
container container,
int start,
anytype element,
... )
The first element of the container is specified by the number 1. To insert after the n element, the start parameter should be n+1.
You can also use the += operator to add values of any type into a container. For example, to create a container that contains the squared values of the first 10 loop iterations:
int i;
container c;
;
for (i = 1; i < = 10; i++)
{
c += i*i;
}
Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).
Community Additions
ADD
Show: