对于Cancel按钮,要删除现有代码并用submit脚本中的最后一行代码替换它。
For the Cancel button, you want to remove the existing code and replace it with the last line from the Submit script.
在原始persistence . xml文件中,需要使用清单12中的内容替换这一行。
In the original persistence.xml file, it was necessary to replace the line with the contents of Listing 12.
简化对OpenXML文档中各种部件、以及其它现有API的访问(例如:可以通过一行代码获得或替换一个部件)。
Simple access to the parts within an Open XML document, relative to other existing APIs (example: one line of code to retrieve or replace a part).
在第一个脚本中,我们使用s(替换)命令来将每一行中的小写‘a’替换为大写。
In the first one, we use the s (substitute) command to substitute an upper case for a lower case 'a' on each line.
例如,如果想用另一个词替换某个词,编辑文件可以是简单的一行程序。
Editing files, for instance, can be a simple one-liner if you want to replace one word with another.
注意,可以组合使用多个替换操作符,见脚本的最后一行。
Note that you can combine several substitution operators, as shown in the last line of the script.
使用实数替换变量可能有助于使这一行为更加清晰。
Replacing variables with real numbers might help clarify the behavior.
换药这一行为在大多数州的法律中都有明确规定,一般被称为“治疗替换”。
Yet the practice of swapping out medications is perfectly legal in most states.
在本例中,特殊替换形式对于每一行来说都将是相同的printf,因此它将在第二个for循环开始之前被预先存储到FORMATTER变量中。
In this example, the special replacement form will be the same printf for every line, so it is pre-stored in the FORMATTER variable before the second for loop begins.
例如,如果想用另一个词替换某个词,编辑文件可以是简单的一行程序。
Editing files, for instance, can be a simple one - liner if you want to replace one word with another.
理想情况下,要重新格式化每一行,AlignAssignments将使用内置的substitute函数,并使用经过printf重新整理后的文本替换运算符之前的所有内容。
Ideally, in order to reformat each line, AlignAssignments would use the built-in substitute function, and replace everything up to the operator with a printf'd rearrangement of that text.
所有留下的这些行将会删除其原始的行组,用这些积累下来的唯一行来替换它(通过一个append )。
All that remains is to delete the original set of lines and replace it (via an append ) with these accumulated unique lines.
这个过程只是将传递到strcmp的参数替换到一行汇编代码中。
This was done by simple substitution of the arguments passed to STRCMP into a line of assembly code.
当从GSP 中发送出WML 时,切记要将默认的MIME类型text/html 替换为 text/vnd.wap.wml,如清单1 中的第一行所示。
When you send out WML from a GSP, you must override the default MIME type from text/html to text/vnd.wap. wml, as in the first line of Listing 1.
替换表格中的每一行的背景颜色。
替换表格中的每一行的背景颜色。
应用推荐