參數
無控制屬性
無範例
在無法處理的例外發生時,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>