Range - The Simplest Parameter |
Top Previous Next |
Before we look at how to add parameters and variation to your documents, we need to discuss the simplest parameter - the Range parameter.
A Range parameter is defined like this...
$p = range(2,9)
This command (we will look at how to create this later) creates a parameter, $p, that can range between 2 and 9. Every time you regenerate, $p will take on a new value. Range parameters are the most common way of creating variation for your question.
Let's look at how to include some range parameters into a question. |