•
|
Assign the given expression to .
|
|
|
•
|
Use the eval command for immediate evaluation.
|
|
|
•
|
Use the Eval command for delayed evaluation. Apply the value command to execute the evaluation.
|
|
|
|
|
The older subs command, which makes a literal replacement, is not equivalent to the eval command because it does not evaluate after making the replacement. For example, using subs to set in returns 0 because Maple sees and does not evaluate the denominator to zero. The eval command evaluates the denominator to zero, and Maple issues a division-by-zero error, as it should. In general, the eval command should be used for making "substitutions" into expressions; subs is used for strictly literal replacements.