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
| Parameter | Type | Description |
|---|---|---|
| sId | String | Connection ID |
Syntax
Function ConnectionIdIndex String sId Returns Integer
Call Example
Get ConnectionIdIndex sId to IntegerVariable
Description
This returns the index for the passed Connection ID within the internal array of connections described in ConnectionIDs.
Return Value
Array Index -- If the ID is not found, it returns -1.