Skip to main content Skip to complementary content
Close announcements banner

LoopCopy

Copies the loop expression from the specified output map element's loop expression.

This function specifies that the same looping instructions are to be used as the referenced output map element. This function is automatically generated when using an aggregate function to refer to the loop expression corresponding to the argument of the aggregate function. It is simply a shorthand for the loop expression to which is refers.

The difference between this and the LoopReference function is that this may be used anywhere in the map, and it will execute newly the loop expression to which is refers rather than taking the values emitted by the loop expression as originally executed (which is what LoopReference does).

This function can only be used in the Loop tab.

Arguments

Map Element Specify an output map element that has a loop expression.
Contexts Specify the context using the EnclosingContext or NestedContext function. EnclosingContext specifies the output map element that encloses this loop. If not specified, the nearest looping ancestor map element is used.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!