View Single Post
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,107

Violet CLM has disabled reputation

Dec 9, 2015, 11:34 PM
Violet CLM is offline
Reply With Quote
I'm not sure exactly what you're asking, but I have two guesses, and hopefully one of them is correct:
If you want to know how to get a random value from an array: ArrayName[jjRandom() % ArrayName.length()]
If you want to know how to tell whether a specific value is in an array: ArrayName.find(SpecificValue) >= 0
Otherwise, please give a little more context.
__________________