在GAS中,宏参数是按名称指定的。
宏名称后面是一个数字,这是这个宏需要的宏参数数量。
After the macro name comes a count, the number of macro arguments the macro is supposed to have.
参数实体用于将外部声明拖到DTD 中,或者用于创建DTD 内部宏来改善可读性。
Use parameter entities to pull external declarations into your DTD, or to create in-DTD macros to improve readability.
还可以创建没有参数的宏,在这种情况下不指定任何数字。
Macros can also be created without arguments, in which case they don't specify any number.
这个宏的第一个参数是指代正在处理的特定按钮的标识符。
The first parameter to the macro is an identifier referring to the specific button being handled.
使用这样的宏可以显著减少代码输入量,因为不必不断地编写和重新编写变量绑定、派生和参数传递。
Using macros like this significantly reduces typing because you do not have to constantly be writing and rewriting variable bindings, derivations, and parameter passing.
使用 BOOST_TEST_CASE宏创建的单元测试以函数指针作为输入参数。
The unit tests that are created using the BOOST_TEST_CASE macros accept function pointers as their input arguments.
BEGIN_EVENT_TABLE()宏有两个参数:事件表实际针对的类和此类的中间父类。
The BEGIN_EVENT_TABLE() macro takes two arguments: the class the event table is actually for and the immediate parent of that class.
实践中,宏的作用通常由其它一些Lisp特性比如词法闭包以及rest参数大大加强。
In practice their usefulness is greatly enhanced by other Lisp features like lexical closures and rest parameters.
也就是说,宏的第一个参数是%1,第二个是%2,第三个是%3,以此类推。
That is, the first argument to a macro is % 1, the second is % 2, the third is % 3, and so on. For example.
_ syscall宏最多可定义6个参数(不过此处只显示了3个)。
The _syscall macros are defined up to six arguments deep (although only three are shown here).
有两种形式,第一种是宏,它就像是具有延迟参数的方法调用一样,这些参数可用特殊的方式计算出来。
They take two forms, the first one is macros, which is basically like method calls with lazy arguments that can be evaluated in special ways.
macro指令后面跟着宏名称,后面可以有参数,也可以没有参数。
A.macro directive is followed by a macro name, which may or may not have arguments.
在这些宏中,您可以简单地指定某些特定的参数,M4处理器可以对一个样板文件进行操作,这个文件是特定于本地安装和sendmail的通用设置的。
In the macros you simply specify certain parameters, and the M4 processor applies a boilerplate that is specific to both your local installation and sendmail in general.
这创建一个有两个参数的宏,第一个参数是%1,第二个参数是%2。
This creates a macro with two arguments, the first being % 1 and the second being % 2. Thus, a call to the above macro would look something like this.
它定义一个具有单一参数credentials的函数,供auth -constraints宏使用。
It defines a function with a single argument, credentials, which will be used by the auth-constraints macro.
主板锚的地址可以通过配置宏或者启动参数确定下来。
The backplane anchor address is established by configuration constants or by boot parameters.
给定参数(如果有且定义为宏)的展开。
The expansion of the given arguments (if any and if these are defined as macros).
宏的参数的个数可以被重载?
算法中利用的压缩参数主要有帧类型、宏块类型、DC系数、运动矢量。
Compressed parameters include type of frame, type of macroblock, DC coefficients, and motion vectors.
介绍了MKS压力控制系统的组成、651c控制器的通信命令参数、串行通信协议宏的构造方法。
The composition of MKS pressure control system, the communication commands and parameters of 651c controller and the method on building serial communication protocol macro are all introduced.
讨论各种运行宏和传递参数的方法。
不能将具有参数的预处理器宏用作值定义。
You cannot use preprocessor macros with arguments as value definitions.
目前在H . 264中最新的抗误码方法有参数集、灵活宏次序和冗余片技术。
In H. 264 there are some latest error resilience methods, such as Parameter Set, Flexible Macro-Block Order and Redundancy Slice.
对这种宏动平台的位置与工作空间问题进行了分析,绘制了位置和姿态工作空间轮廓图,定量分析了各主要结构参数对工作空间大小的影响。
The position and workspace are analyzed, and the outlines drawing of position and orientation workspace are plotted. The effects of main structure parameters to the volume of workspace are studied.
帧层次主要计算为这一帧分配的目标字节数,宏块层次主要计算每一个宏块的量化参数。
The QP (Quantization Parameter) of each macroblock is calculated in macroblock-layer, the target bits of each frame is allocated in frame-layer.
某些宏需要参数或开关。
下面是一个带有两个参数的Velocity宏的例子,一个色彩值,一个数组。
Here is a Velocimacro that takes two arguments, a color and an array.
它还提供了一些功能,可用来管理各种可选配置、实现可重用库的细节以及让用户以自定义宏将过程参数化。
It also provides features to manage alternate configurations, implement reusable libraries of specifications, and parameterize processes with user-defined macros.
它还提供了一些功能,可用来管理各种可选配置、实现可重用库的细节以及让用户以自定义宏将过程参数化。
It also provides features to manage alternate configurations, implement reusable libraries of specifications, and parameterize processes with user-defined macros.
应用推荐