Arrayhigh

From the Scripting Manual
function ArrayHigh(X: array of variant): integer; Parameter Info: X (Array of Variant): This paramater can be an array of any data type. Description: This function will return the highest index of an array. Example if you have an array of 5 integers {0,1,2,3,4}, this function will return 4. (if this function fails for you, please try GetArrayLength)\ '''THIS FUNCTION IS DEPRECATED AND WILL BE REMVOED IN FURTHER RELEASES! PLEASE USE GetArrayLength instead.'''

Examples
Output: noobs foo bar is for