17.7.1 Format
-
The above API functions can be called from the MAIN and ERROR sections.
-
When you pass parameters to API functions, make sure that the data types of the parameters conform to the API specifications.
-
You can specify an expression in a function call. If the data types of expressions and function calls conform to the API specifications, you can nest the function calls.
-
If a runtime error occurs during execution of an API, the control moves to the ERROR section.
-
If a function fails, you can use AIT_GetLastError to acquire the return code of the function. You can also use AIT_GetErrorText to acquire the text of the error message.