The *END command denotes the closing point of a loop opened by a *DO or a *FOR command. The form of the command is:

[*END x]

where x is the index of the loop to be closed. This must always be the last loop remaining open; loops may not overlap.

All loops opened whether by *DO or *FOR commands must be closed before the end of the set-up.

Examples of valid *END commands:

[*end lpLoop]

[*end lpThisYear]