XPS Unified Programmer’s Manual
7.2.1.56 GlobalArraySet
Name
GlobalArraySet – Sets the value of the global array.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Verifies the index number [0:100[: (-17)
Description
This function sets a new value in the global array related to the “Number” index and the
new value is set to a string.
NOTE
The first variable value of the global array is always referenced to the index “0”.
The number of data points in the global array is limited to 100, so the last index is
“99”.
Prototype
int GlobalArraySet(
int SocketID,
int Number,
char * StringValue
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
Number int Index in the global array.
StringValue char * Variable value.
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -17: Parameter out of range or incorrect.
103 EDH0373En1023 — 01/18