UnifaceEntity.removeOccurrence

Remove the specified occurrence from the set of occurrences.

import com.compuware.uniface.*;

void removeOccurrence (int occNumber)

Parameters

occNumber—number of the occurrence.

Return Values

None. removeOccurrence throws a UnifaceException if there are no occurrences.

Results

If occNr is less than zero, the last occurrence in the set is removed. If it is less than or equal to the number of occurrences, the specified occurrence is removed, moving all higher numbered occurrences down by one.

Description

The behaviour of this method is equivalent to the remocc ProcScript statement.