|
|

Variable Window
Variables can be defined in the variable window shown here. The top of the window is a list of variables including the Type, Value, and Definition. Clicking on a column header sorts the list according to the entries in the column. A second click sorts the list in reverse order. A click on Variable or Definition sorts the variables alphabetically by the name in the first column. Value sorting is by numeric order. A variable can be one of three Types according to the definition. A variable is Simple if it contains a single number, Compound if it contains only numbers and arithmetic operators, and Dependent if it references another variable. The Type is used only for sorting in the list. The Program Order button at the bottom list the variables in the order in which they are stored in the program. This is the order in which they are evaluated if some variable is changed.
The drop down menu below the list specifies the units of the Value column and Value field. The units of numbers in the definitions are always in centimeters.
Selecting a variable in the list by clicking on its name populates the Name, Value, Def’n (definition), and Comment fields. The Value cannot be changed directly. The Modify button updates the selected variable. A change in the Name of existing variable is ignored. The Add button creates a new variable. Delete removes the selected variable if no other variable or coefficient references it. Delete All removes all variables if none are used elsewhere.
The Usage button lists, in the report window, other variables and geometry objects that reference the selected variable. The list distinguishes between direct and indirect references. In the former, the variable appears explicitly in a definition or coefficient reference. An indirect reference depends on the variable through one or more intermediate variables. In the definitions
%B references %A directly, %C references %A indirectly.%A = 5
%B = 2 * %A
%C = 4 + %B
When a variable modification results in a changed surface or solid body coefficient, the 2D and 3D plots are redrawn following application of the Modify button if Immediate Update is checked. If not checked, the new geometry is shown with the Update Geometry button.
| White Rock Science http://www.whiterockscience.com/wrs.html 505 672 1105 |
|
|