{VERSION 2 3 "SUN SPARC SOLARIS" "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 "Hyperlink" -1 17 "" 0 1 0 128 128 1 0 0 1 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 H eading" -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 "Couri er" 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 "Heading 1" 0 3 1 {CSTYLE "" -1 -1 "" 1 18 0 0 0 0 0 1 0 0 0 0 0 0 0 }1 0 0 0 6 6 0 0 0 0 0 0 -1 0 }{PSTYLE "Warning" 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 }} {SECT 0 {PARA 0 "" 0 "" {TEXT -1 0 "" }}{SECT 0 {PARA 0 "" 0 "" {TEXT 26 6 "Error:" }{TEXT -1 71 " ... expects its ... argument, ..., to be \+ of type ..., but received ..." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }} {PARA 0 "" 0 "" {TEXT -1 183 "This error is produced when an argument \+ to a function or command is not of the type that it is designed to be. The function may be part of Maple itself, or one that you wrote (usi ng " }{MPLTEXT 0 21 2 "::" }{TEXT -1 274 " to specify the type require d). If the function is part of Maple, look at its help page, in parti cular the \"Calling sequence\" and \"Parameters\" sections, to see the correct way to use it. Examine the argument that cause the trouble. \+ In some cases it is helpful to use the " }{MPLTEXT 0 21 8 "whattype" }{TEXT -1 53 " command to see what type this argument actually has." } }{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 84 "One comm on way that this error occurs is if you specify the independent variab le in " }{MPLTEXT 0 21 6 "dsolve" }{TEXT -1 4 " as " }{MPLTEXT 0 21 1 "y" }{TEXT -1 12 " instead of " }{MPLTEXT 0 21 4 "y(x)" }{TEXT -1 1 ". " }}}{SECT 0 {PARA 3 "" 0 "" {TEXT 26 9 "Examples:" }}{EXCHG {PARA 0 " > " 0 "" {MPLTEXT 1 0 26 "f:= (x::integer) -> x^2+1;" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 5 "f(q);" }}{PARA 8 "" 1 "" {TEXT -1 75 "Erro r, f expects its 1st argument, x, to be of type integer, but received \+ q" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 26 "dsolve(D(y)(x) = y(x), y);" }}{PARA 8 "" 1 "" {TEXT -1 118 "Error, (in dsolve) dsolve/inputc k1 expects its 2nd argument, vars, to be of type \{list, set, function \}, but received y" }}}{PARA 0 "" 0 "" {TEXT -1 0 "" }}}{PARA 0 "" 0 " " {TEXT -1 0 "" }}{SECT 0 {PARA 0 "" 0 "" {TEXT 26 10 "See also: " } {HYPERLNK 17 "Declaring the type of an argument" 2 "Declaring_the_type _of_an_argument" "" }{TEXT -1 2 ", " }{HYPERLNK 17 "type" 2 "type" "" }{TEXT -1 2 ", " }{HYPERLNK 17 "dsolve" 2 "dsolve" "" }{TEXT -1 2 ", \+ " }{HYPERLNK 17 "whattype" 2 "whattype" "" }}}{SECT 0 {PARA 0 "" 0 "" {TEXT 26 23 "Maple Advisor Database " }{TEXT -1 15 " R. Israel 1997" } }}{PARA 3 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}} {MARK "1 4 6" 1 }{VIEWOPTS 1 1 0 3 2 1804 }