Xf-get-last-error-code-func
This function is used to get the last error code value of the XFunction engine.
int xf_get_last_error_code()
Returns error code value if the last XFunction executed produced an error otherwise returns 0.
Error codes are for internal use and therefore meaningless, but you can test for an error then use another function to get the error message. See example below.
if(xf_get_last_error_code()) { string msg$ = xf_get_last_error_message()$; ty %(msg$); }
xf_get_last_error_message