Declaring Variables
Before you begin defining any operations in the statements section of the extended rule, you must first define the variables that you will use in the extended rule. Variables consist of a name and a data type, and are used to store values.
For this extended rule, you will use these four variables (all of which have a data type of integer).
- i (temporary variable assigned any value you define in the extended rule)
- j (another temporary variable assigned any value you define in the extended rule)
- ildlimit (temporary variable that contains the number of ILD segments)
- stllimit (temporary variable that contains the number of STL segments)
Use this procedure to declare the four integer variables listed above.
You are now ready to define the statements section of the extended rule.