Variable Declaration Single, Multiple, and Multiple Ensuring Uniqueness

Single declaration

To declare a variable use the : sign: ###variable:value###. For example, ###a:r(1,10,1,2dp)### will allow to store the random value in variable a and reuse it several times by calling ###a###.

sd.jpg

Multiple declaration

It is possible to assign multiple values at once. In this case, the function will be run independently on each variable. They may or may not have the same value. ###a,b,c:r(1,10,1,2dp)### - each of the variables will be randomly assigned.

md.jpg

Multiple declaration ensuring uniqueness 

To ensure that each variable is unique the “unique assign” operator !!: may be used: ###a,b,c!!:r(1,10,1,2dp)### - each of the variables will be randomly assigned, but unique.

mdu.jpg