MapleTA[Builtin]
maple
parse and execute a Maple command
Calling Sequence
Parameters
Description
Examples
Compatibility
maple(command)
command
-
string
The maple command parses and executes the given command string.
If the given command string contains multiple maple statement, only the result of the last statement will be returned.
The maple command interacts with the global environment. So, if x is assigned in your current session, then executing maple("f(x)") will compute a result using the current setting of x. This is not a concern when running code inside Maple T.A., as each maple computation starts with a clean environment with nothing assigned.
MapleTA:-Builtin:-maple⁡ithprime(12)
37
MapleTA:-Builtin:-maple⁡diff(sin(x)*x,x)
cos⁡x⁢x+sin⁡x
MapleTA:-Builtin:-maple⁡a := 2; print(a); a^2
2
4
The MapleTA[Builtin][maple] command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
See Also
MapleTA
parse
Download Help Document