Units[UseContexts] - set default context(s)
|
Calling Sequence
|
|
UseContexts(ctx1, ctx2, ...)
|
|
Parameters
|
|
ctx1, ctx2, ...
|
-
|
symbol(s); unit context(s)
|
|
|
|
|
Description
|
|
•
|
The UseContexts(ctx1, ctx2, ...) function defines the default context(s) to use for the current session without redefining the defaults for each unit. It also returns the context(s) assigned by its most recent execution if any exists.
|
•
|
To redefine the default context(s) for all future Maple sessions, add the UseContexts command to your Maple initialization file. For more information, see Create Maple Initialization File.
|
•
|
If a unit name is specified without a context, the contexts in the last execution of the command UseContexts are each checked to see if any are valid. If one is appropriate, it is used as the default context.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
|
|
Download Help Document
Was this information helpful?