Using the Variable Manager
Through the Variable Manager you can display all variables used in your current Maple session or select a subset of those variables for view. You can also view values assigned to these variables through the palette. For more information on the Variable Manager, see Variable Manager.
Displaying assigned values
To display the value assigned to a variable:
1.
|
In the Variable Manager, select a variable.
|
2.
|
The value assigned to the variable is displayed in the View window. To launch the View window, do one of the following:
|
•
|
Double-click on the variable
|
•
|
At the bottom left corner of the palette window, click the View
button.
|
•
|
Right-click, then select View
|
Hiding a variable
To hide a variable in the Variable Manager:
1.
|
In the Variable Manager, select a variable.
|
2.
|
To hide the variable, do one of the following:
|
•
|
Right-click, then select Hide.
|
•
|
At the bottom of the palette window, click the Hide
button.
|
Filtering variables displayed in the Variable Manager palette
Through the Variable Manager you can choose to filter the list of all the active variables in your Maple session, so that only a portion of these variables are visible. To filter variables in the Variable Manager:
1.
|
At the bottom of the palette window, click the Filter
button.
|
2.
|
In the Show Variables window, clear the boxes corresponding to the variables you want to hide.
|
Unassigning values from variables
To unassign a value from a variable:
1.
|
In the Variable Manager, right-click on a variable.
|
3.
|
The value is no longer assigned to the variable in the current Maple worksheet.
|
Manually adding variables to the Variable Manager
Global variables assigned within a procedure and variables that are passed by reference to a procedure, must be added manually to the Variable Manager.
To manually add a variable:
1.
|
Execute the procedure that contains the variable you want to add to the Variable Manager.
|
2.
|
Right-click anywhere in the Variable Manager palette.
|
4.
|
Type the name of the variable you want to add and click OK.
|
|
Notes
|
|
•
|
The Variable Manager is updated automatically when you switch tabs in a Maple session. To prevent the automatic update, collapse the palette.
|
•
|
Variables in the startup code will appear, by default, in the Variable Manager.
|
•
|
If you are writing Maple programs in the worksheet, you can use the Variable Manager to perform a visual inspection of the values assigned to the variables in your code as part of your debugging.
|
|
|