ListTag function (LotusScript® Language)

Returns the name of the list element currently being processed by a ForAll statement.

Syntax

ListTag ( refVar )

Elements

refVar

The reference variable in a ForAll list iteration loop.

Return value

ListTag returns a String that is the name of the list element currently referred to by refVar.

ListTag generates an error if refVar is not the reference variable specified in the ForAll statement.

If Option Compare NoCase is in effect and the character set is single byte, names are returned as all uppercase. Option Compare has no effect if the character set is double byte.

Usage

The ListTag function is valid only inside a ForAll block whose target is a list.

Example