...nfo); //指定字段定义 function CreateSQL : String; //创建SQL语句 procedure SetVariables( d : TDataset); //设置字段变量 ..
基于14个网页-相关网页
下面,您为要执行的命令设置一些全局变量,为响应消息设置一个缓冲区,并设置一个哈希来包含来自触发器消息的字段(见清单4)。
Next, you set up global variables for the command to be executed, a buffer for response messages, and a hash that will contain the fields from the trigger message (Listing 4).
在该脚本中,(通过设置FS变量)在代码中指定字段分隔符,而前一示例通过在命令行向awk传递- F “: ”选项来设置FS。
In this script, the field separator is specified within the code itself (by setting the FS variable), while our previous example set FS by passing the -f ":" option to awk on the command line.
如前所述,这个变量支持设置awk期望在字段中找到的字符序列。
As mentioned earlier, this variable allows you to set the character sequence that awk expects to find between fields.
应用推荐