3.7.2. Error

You can use Error when you want to stop execution of a UDF and print an error message to the console.

Example:

 if (table_file == NULL)
 Error("error reading file"); 

Important:   Error is not supported by the interpreter and can be used only in compiled UDFs.



Release 18.2 - © ANSYS, Inc. All rights reserved.