... Void functions may not return a valueVoid类型的函数不应有返回值 Wrong number of arguments调用函数的参数数目错 ''xxx'' not an argumentxxx不是参数 ...
基于96个网页-相关网页
Listing 4 shows the beginning of the sample wrapper script, which defines a usage message that displays if you execute the script with no arguments or the wrong number of arguments.
清单4给出了此示例包装器脚本的开始部分,其中定义了一个使用消息,如果在没有参数或参数数量错误的情况下执行该脚本,就会显示这个消息。
Often, you can trace the origin of a bug back to a caller that's sending the wrong type of argument, the wrong number of arguments, or a mismatch between the order of actual and formal arguments.
常常可以发现bug的原因是调用者发送了类型错误的参数或数量错误的参数,或者实际参数和形式参数的次序不匹配。
应用推荐