GetInputStringCount()
From ElectronicWar
| Function information for getInputStringCount() | |
| Function | getInputStringCount() |
| Parameters | None |
| API | Challenge |
| Cost | $N/A |
| Level | N/A |
| CPU Usage | N/A |
| Description | Returns an integer representing the initial number of elements in an array of strings provided by the challenge system. This is one of a group of functions used to return challenge data (along with getInputFloatCount() and getInputIntCount()). |
[edit] Example
If the challenge input was an array containing ("Hello", "World"), and you needed to output the number of elements in the array, you'd use the following script:
int i = getInputStringCount(); setOutputInt(i);
The output from this script would be 2.

