This list is similar to the argv list used in common C programs and defines the application (first element of the array) and argument list.
该列表与普通C程序中的argv 列表类似,定义了应用程序(数组第一个元素)和参数列表。
Shift removes all the processed arguments from the argument list, leaving the list of files and directories to process.
shift从参数列表中删除所有已处理的参数,保留待处理的文件和目录列表。
Here the process substitution runs the directory listing components and returns a list of filenames, which is in turn supplied to the argument list of the emacs command.
这里的进程替换运行目录列表组件并返回一个文件名列表,后者又提供给emacs命令的参数列表。
For example, you can create a worker to list the contents of a directory. The -f argument names the function the worker is providing.
例如,可以创建一个worker来列出某个目录的内容。
Note the argument list after the class name.
注意类名字后面的参数列表。
The method return type appears after the argument list.
方法的返回类型在参数列表的最后出现。
Assume an arbitrary argument list is passed to the above function.
假定将任意参数列表传递给上面的函数。
Note that each argument list is surrounded by parentheses and the arguments are separated by commas.
注意,每一个参数列表会被括号所包围,并且所有的参数由逗号隔开。
For instance, the argument list might contain the address of a 16MB chunk of data to process.
举例来说,参数列表可能会包含一个要处理的16MB 大小的数据的地址。
What we do is, in a loop, march down the argument list checking each one to see if it is an option.
我们所做的是,用一个循环遍历参数列表检查每个参数来看它是否为选项。
Scala lets you define more than one argument list for a method.
Scala可以让你为方法定义一个以上的参数列表。
At the end of the hook method, I invoke the original method call on the decorated object using my new argument list.
在钩子方法的结束部分,我使用新参数列表对修饰对象调用原始方法。
The first extension that Ruby adds to the simple code block is an argument list.
Ruby添加到这个简单代码块的第一个扩展是一个参数列表。
Line 4 sets the variable was to the value of the next item in the argument list.
第4行将变量was设置为参数表中下一项的值。
The effects of calling the admin( ) and task( ) functions with the same argument list are equivalent, but their return values, which indicate the result of the operation, have different data types.
用相同的参数列表调用admin( )和task( )函数的效果是相同的,但是它们返回的表示操作结果的值有不同的数据类型。
The second argument is a list of keywords which are to be taken literally within the syntax patterns.
第二个参数是关键字列表,这些关键字在语法模式中采用字面意义。
The first argument to lambda is the list of arguments the function can take.
lambda的第一个参数是函数可以取得的参数列表。
The first argument of the distribute function is a list.
distribute函数的第一个参数是一个列表。
The total function in Listing 9 takes a list as a single argument.
清单9中的total函数将列表当作单个的参数。
The case statement works like its counterparts in traditional programming languages: It compares its argument to each pattern in a list; when a match is found, the corresponding code executes.
case语句的工作方式与传统编程语言中的对应结构相似。它将其参数与列表中的每个模式比较;当找到匹配项时,则执行对应的代码。
Note here that the argc variable (argument count) is implicit, because the length of the argv list is known.
请注意这里的argc变量(参数数量)是隐式的,因为argv列表的长度已经知道。
The CommentBlock function in Listing 4, for example, assumes that the comment introducer is the optional argument that is most likely to be needed, and so places it first in the parameter list.
例如,在清单4中的CommentBlock函数,假设评论人可能是最需要的可选参数,所以将其放置在参数列表的第一位。
The function definitions inside a class normally have a peculiar form of argument list, dictated by the calling conventions for methods — again, this is explained later.
类中的函数定义通常包括了一个特殊形式的参数列表,用于方法调用约定——同样我们在后面讨论这些。
Functions that have a variable argument list (...).
具有可变参数列表的函数(…)。
Follow the procedure name with parentheses to enclose the argument list.
请在过程名称后面用括号将参数列表括起来。
Place the arguments in the argument list within the parentheses, separated by commas.
将参数放入括号内的参数列表中,以逗号分隔。
To set the default property value, use the variable name, with an argument list, on the left side of an assignment statement.
若要设置默认属性值,请在赋值语句左侧使用带有参数列表的变量名。
Write the procedure call in the normal way, presenting the data in the argument list.
以通常方式编写过程调用,用参数列表提供数据。
The second argument, vals, is a list of values for the keys that were passed into the function.
第二个参数是 vals,这是传递到函数中的键的值列表。
The second argument, vals, is a list of values for the keys that were passed into the function.
第二个参数是 vals,这是传递到函数中的键的值列表。
应用推荐