两者结合使用可方便地定义新语句,无需扩展语法,也无需使用类似宏的元编程工具。
A joint use of both features facilitates the definition of new statements without extending the syntax and without using macro-like meta-programming facilities.
解释完宏之后,连接将处于活动状态并准备执行sql语句(参见清单2)。
After the macro is interpreted, the connection is active and ready to execute SQL statements (see Listing 2).
为此,我们将使用with -syntax,这本质上是用于宏的“let”语句。
To make this happen, we will use with-syntax which is essentially a "let" statement for macros.
宏把使用程序员定义的语言结构编写的代码段翻译成编程语言可以理解的语句。
Macros translate segments of code that have been written in a language structure defined by the programmer into statements that the programming language understands.
我们仅通过更改宏名称的一个字母就可以启用或禁用显示语句。
Each print statement can be enabled or disabled by removing or adding a single letter to the macro's name.
当用宏指令调用定义时,从宏定义的模型语句中产生汇编语言语句。
To produce assembler language statements from the model statements of a macro definition when the definition is called by a macroinstruction.
当用宏指令调用定义时,从宏定义的模型语句中产生汇编语言语句。
To produce assembler language statements from the model statements of a macro definition when the definition is called by a macroinstruction.
应用推荐