Description
Given a number (1 ≤ nNumber ≤ objAlg.SolutionCount), this function discards the specified solution. All such tagged solutions are removed at the end of processing through the Zone Link script, unless doing so would leave no solution.
Applicable Events
AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-ApplicationZoneLink
Syntax
object.RemoveSolution (nNumber)
Parameters
Object is a reference to the Algorithm or Application object. For more information, see Algorithm Object (page Algorithm Object) or Application Object (page Application Object).
RemoveSolution is the command.
nNumber is the solution number to be removed.
Example