{VERSION 2 3 "IBM INTEL NT" "2.3" } {USTYLETAB {CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 0 1 0 0 0 0 }{CSTYLE "2D Math" -1 2 "Times" 0 1 0 0 0 0 0 0 2 0 0 0 0 0 0 }{CSTYLE "Hyperlink" -1 17 "" 0 1 0 128 128 1 0 0 1 0 0 0 0 0 0 } {CSTYLE "2D Output" 2 20 "" 0 1 0 0 255 1 0 0 0 0 0 0 0 0 0 }{CSTYLE " " 0 21 "" 0 1 0 0 0 1 0 0 0 0 2 0 0 0 0 }{CSTYLE "Help Heading" -1 26 "" 1 14 0 0 0 0 0 1 0 0 0 0 0 0 0 }{PSTYLE "Normal" -1 0 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Text Output" -1 2 1 {CSTYLE "" -1 -1 "Courier" 1 10 0 0 255 1 0 0 0 0 0 1 3 0 0 }1 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "War ning" 2 7 1 {CSTYLE "" -1 -1 "" 0 1 0 0 255 1 0 0 0 0 0 0 1 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Error" 7 8 1 {CSTYLE "" -1 -1 " " 0 1 255 0 255 1 0 0 0 0 0 0 0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 } {PSTYLE "Maple Output" 0 11 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 }3 3 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }} {SECT 0 {PARA 0 "" 0 "" {TEXT -1 0 "" }}{SECT 0 {PARA 0 "" 0 "" {TEXT 26 6 "Error:" }{TEXT -1 49 " attempting to assign to ... which is pro tected\n" }}{PARA 0 "" 0 "" {TEXT -1 527 "Most of the standard names t hat Maple uses, in particular the names of functions, are protected. \+ This makes it impossible to assign a new value to them, and generates \+ the error message above if you attempt to do so. Without this feature , you might accidentally use the name of a Maple function as a variabl e and assign it a value. Then later when some Maple code tried to cal l this function, the value you gave it would be used instead of the or iginal definition, causing an error that might be hard to identify and correct." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 25 "To tell whether the name " }{MPLTEXT 0 21 1 "X" }{TEXT -1 27 " is \+ protected, you can use " }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 19 "t ype(X, protected);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%&falseG" }}} {PARA 0 "" 0 "" {TEXT -1 18 "This would return " }{MPLTEXT 0 21 4 "tru e" }{TEXT -1 27 " if the name was protected." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 37 "You can also protect names usin g the " }{MPLTEXT 0 21 7 "protect" }{TEXT -1 10 " command: " }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 15 "protect('foo');" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 8 "foo:= 3;" }}{PARA 8 "" 1 "" {TEXT -1 55 "Err or, attempting to assign to `foo` which is protected" }}}{PARA 0 "" 0 "" {TEXT -1 61 "Note the quotes, to prevent premature evaluation of th e name " }{MPLTEXT 0 21 3 "foo" }{TEXT -1 1 "." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 103 "It is possible to remove the protection from a name (whether it was protected by you or by Map le) with " }{MPLTEXT 0 21 9 "unprotect" }{TEXT -1 2 ": " }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 17 "unprotect('foo');" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 8 "foo:= 3;" }}{PARA 11 "" 1 "" {XPPMATH 20 " 6#>%$fooG\"\"$" }}}{PARA 0 "" 0 "" {TEXT -1 195 "It is dangerous to do this for names protected by Maple: it is often very hard to tell what functions Maple may end up calling, even when they appear to be quite irrelevant to what you are doing." }}}{SECT 0 {PARA 0 "" 0 "" {TEXT 26 9 "See also:" }{TEXT -1 1 " " }{HYPERLNK 17 "protect unprotect" 2 " protect" "" }{TEXT -1 2 ", " }{HYPERLNK 17 "type[protected]" 2 "type,p rotected" "" }}}{SECT 0 {PARA 0 "" 0 "" {TEXT 26 22 "Maple Advisor Dat abase" }{TEXT -1 18 " R. Israel, 1997" }}}{PARA 0 "" 0 "" {TEXT -1 0 "" }}}{MARK "1 10 1" 1 }{VIEWOPTS 1 1 0 1 1 1803 }