参数
无控制属性
无示例
在无法处理的异常发生时,arc:finally 代码块就会执行。这可以用来确认标签关闭。另请参阅
- arc:try:定义一个作用域,来捕获异常。
- arc:call:循环运算器返回的对象。
- arc:render:基于 ArcScript 模板生成文件。
- arc:script:创建一个脚本块。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
控制离开 arc:call、arc:try、arc:render 或 arc:script 语句后执行清理部分,无论是否发生异常。
<table>
<arc:call op="listCustomers" out="customer">
<arc:first>
<thead>
<arc:enum item="customer">
<td>[_attr]</td>
</arc:enum>
</thead>
</arc:first>
<tr>
<arc:enum item="customer">
<td>[_value]</td>
</arc:enum>
</tr>
<arc:finally>
</table> <!-- ensure tags are still closed -->
</arc:finally>
</arc:call>