|
String Array Functions |
Top Previous Next |
|
For access to the global test level string arrays, use the following functions and properties:
test.CreateStringArray( arrayCount, elementCount, stringLength )
Creates multiple (arrayCount) string arrays each with a fixed number of elements (elementCount) and a fixed string length (stringLength) for each string in the array.
test.SortStringArray( arrayIndex, direction, elementCount )
Sorts one of the string arrays (arrayIndex) using the direction (1 for ascending and -1 for descending). Only sorts the first elementCount number of elements in the array.
string = test.GetStringArrayElement( arrayIndex, elementIndex )
Returns a string from the arrayIndex string array at elementIndex element.
test.SetStringArrayElement( arrayIndex, elementIndex, string )
Sets a string into the arrayIndex array at elementIndex element.
|