The shift command removes positional parameters from left to right.
shift命令从左到右删除位置参数。
The sigil, $@, expands to all the (remaining) positional parameters.
特殊符号 $@展开为所有(其余)的位置参数。
Here's another example that combines positional parameters and keyword arguments.
下面是另外一个综合了位置参数和关键字参数的例子。
The getopt UNIX utility scans the positional parameters for the named arguments you specify.
UNIX实用程序getopt扫描位置参数以获得您指定的命名参数。
Command-line arguments are also called positional parameters, because the position of an argument on the command line is usually semantically important.
命令行参数也称为位置参数(positional parameter),因为某个参数在命令行上的位置通常在语义上非常重要。
Specify positional parameters and named parameters for the attribute.
指定属性的位置参数和具名参数。
Each public constructor for an attribute class defines a valid sequence of positional parameters for that class.
特性类的每个公共构造函数为该类定义一个有效的定位参数序列。
As an example, Listing 2 can leverage the existence or non-existence of positional parameters to provide a helpful usage message if you specify no arguments.
例如,如果您未指定任何参数,则清单2可以利用位置参数的存在性或非存在性来提供有帮助的用法信息。
As an example, Listing 2 can leverage the existence or non-existence of positional parameters to provide a helpful usage message if you specify no arguments.
例如,如果您未指定任何参数,则清单2可以利用位置参数的存在性或非存在性来提供有帮助的用法信息。
应用推荐