Arbortext Command Language > Functions by Alphabetical Listing > hook_call
  
hook_call
hook_call (name[, arg1[, arg2 …]])
This function calls the ACL hook function specified by name. The remaining arguments, if any, are passed to the hook function.
The function returns 0 if all functions on the hook function list succeed, -1 if a function in the hook function list aborts the operation, and -2 if there is an error.
Example
hook_call("preferencehook", win)