More On References

Top  Previous  Next

We have already seen how references can be used to access individual values in a parameter but they are far more powerful than this! This section discusses some of the innovative ways you can use references.


Parameters define sets of values which can be used in your questions. A parameter can easily define hundreds or thousands of possible values. References allow you to access the possible values individually instead of randomly.


For example, if you define this parameter:




$p will take on a random value in the range and there are nearly 1000 possible values it could take. If you want specify one particular value you can use a reference.




The 200 is the reference and allows you to specify one particular possible value.