randomline(
TEXT
)

The randomline( function returns a random line from multiple lines of text.


Parameters

This function has one parameter:

text – one or more lines of text, separated by carriage return characters.


Description

This function returns a random line from multiple lines of text. Each time you use this function a new random line will be returned.

randomline(commatocr("red,green,blue,gold,silver,white,black")) ☞ blue
randomline(commatocr("red,green,blue,gold,silver,white,black")) ☞ silver
randomline(commatocr("red,green,blue,gold,silver,white,black")) ☞ red
randomline(commatocr("red,green,blue,gold,silver,white,black")) ☞ gold

new


See Also


History

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