ConnectionIdIndex - cConnection

Returns the index for the passed Connection ID within the internal array of connections described in ConnectionIDs, tests if Connection ID is registered

Type: Function

Return Data Type: Integer

Parameters: String sId

ParameterDescription
sIdConnection ID


Return Value

Array Index -- If the ID is not found, it returns -1.


Syntax
Function ConnectionIdIndex String sId Returns Integer

Call: Get ConnectionIdIndex sId to IntegerVariable


Description

This returns the index for the passed Connection ID within the internal array of connections described in ConnectionIDs.