Cicode Programming Reference > Cicode Function Categories > Cluster Functions Introduction > ClusterNext

ClusterNext

This function allows the user to retrieve the next configured cluster in the project.

Syntax

ClusterNext(ClusterName)

ClusterName:

Any configured cluster name enclosed in quotation marks "", this will usually be the name of the previous cluster as returned from ClusterFirst, or a previous call to ClusterNext.

Return Value

The name of the next configured cluster or an empty string if there is no more clusters.

Related Functions

ClusterActivate, ClusterDeactivate, ClusterFirst, ClusterGetName, ClusterIsActive, ClusterServerTypes, ClusterSetName, ClusterStatus, ClusterSwapActive, TaskCluster

See Also

Cluster Functions

About cluster context