Your browser does not support JavaScript!
You are here: Transaction Rules > Transaction Elements > Math Elements > LOOPINDEX

LOOPINDEX

Description

This establishes a counter that tracks the number of times the statement has executed. This is a zero based counter and is maintained by the system.  This should be used inside MATHLOOP math variables.   

LOOPINDEX Element/Attribute Table
TYPE = IIF      
Element Attributes Attribute Value Element Value

<MathVariable>

TYPE

LOOPINDEX

There is no element value needed.

   

LOG

Yes:  the result is stored in AsActivityMath table to be used by other activities.

No: the result is not stored. This is the default behavior.  

   

SOURCEARRAY

The name of the MATHLOOP math variable this is associated with. 

XML Example

<MathVariable VARIABLENAME="Segments_index" 
 TYPE="LOOPINDEX" SOURCEARRAY="Segments" DATATYPE="INTEGER"></MathVariable>

 

Copyright © 2009, 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices