Programming Reference

Jump to a label somewhere else in the program based on a randomly generated number.

Code Example
rand0:[label0 label1 label2 label3] label4

If rand0 = 0, then jump to label0:
If rand0 = 1, then jump to label1:
If rand0 = 2, then jump to label2:
If rand0 = 3, then jump to label3:
If rand0 does not fall within the array, then jump to label4:

This command is similar to a switch-case statement in C, where the jump location is determined by a random variable.
This is very handy when you want to jump to different locations in the program, but you want those locations to be
chosen randomly.