This error occurs when you assign a value to a protected name. Protection is used to prevent names from being modified by the user.
One way to solve this error is to use a name that is not protected. However, if you prefer to use the protected name, you can do one of the following to avoid this error.
•
|
use local to declare a local version of the name (see Example 1)
|
•
|
use unprotect to remove protection from the protected name (see Example 2)
|
Note: It is not recommended that you remove protection from Maple protected names. If you must use a Maple protected name, you should declare a local version of the name.