randomword(
WORDLIST
)

The randomword( function returns a random word from a list of words.


Parameters

This function has one parameter:

wordlist – the list of words, with each word separated by a space.


Description

This function returns a random word from a list of words. Each time you use this function a new random word will be returned.

randomword("red green blue gold silver white black") ☞ blue
randomword("red green blue gold silver white black") ☞ silver
randomword("red green blue gold silver white black") ☞ red
randomword("red green blue gold silver white black") ☞ gold

See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0, but is now much faster.