evaluate to a name
The evaln function is used to "evaluate to a name" or, more generally, to form an assignable object. The name (assignable object) will not itself be evaluated.
A typical example of its use would be divide(a,b,evaln(t[i])) where i is the index of a for loop.
If the expression is a simple name (i.e. a symbol) then the same effect can be achieved by using single quotes on the name.
evaln can be used on names, subscripts, function calls, and concatenations.
There is also a procedure parameter modifier, evaln, which declares that an argument to a procedure invocation must evaluate to a name.
The evaln command is thread-safe as of Maple 15.
For more information on thread safety, see index/threadsafe.
i ≔ 1
If something which does not evaluate to a name is passed to evaln an error is returned
Error, illegal use of an object as a name
The evaln Modifier
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.