Returns the number of sections that have been already executed during the current pass through this section block.

A section is executed only when

  1. Its enabling condition (when specified) is true
  2. Its context element is not null and suits to the matching Element Types defined for this section.
(Note: the context element originally received by the section from the parent block may be changed specifically for this section by a special expression defined within the section's properties.)

Using this property in conjunction with the enabling conditions of sections allows you to specify processing of the sections in a way similar to

if (condition1)
...
elseif (condition2)
...
construction.

Let's consider, the first section has an enabling condition condition1 and the section following it should be processed alternatively to the first one when a condition2 is satisfied. To program this, the enabling condition for the second section might be the following:

sectionBlock.execSecCount == 0 && condition2

See Also:

outputSecCount