Arbortext Command Language > Functions by Alphabetical Listing > tbl_edit_close
  
tbl_edit_close
1 = tbl_edit_close (success, [doc])
This function decrements the table-edit count for document doc (or the active document, if doc is omitted). If the count is zero and success is also zero, it calls undo to discard any changes to the document since the corresponding call to tbl_edit_open.
This function always returns 1.
* 
Follow every call to tbl_edit_open with a call to tbl_edit_close. Failure to do so may cause Arbortext Editor to operate unexpectedly until restarted.