Returns a random element of array.
- Возвращает
int
Random element of array Print( my_array.GetRandomElement() );
>> "Three"
proto void Print(void var)
Prints content of variable to console/log.
См. определение в файле EnScript.c строка 561
562 {
564 }
int GetRandomIndex()
Returns a random index of array. If Count is 0, return index is -1 .
Перекрестные ссылки Get() и GetRandomIndex().