ERRsquash_start, ERRsquash_end


Synopsis


void ERRsquash_start();
void ERRsquash_end();

Description

These C macros can be used to suppress errors generated from AVS/Express library routines. Place a call to ERRsquash_start before you call a routine that may generate an error and place a corresponding call to ERRsquash_end after the routine call. Any errors generated between these calls are not presented to the user.

Example


ERRsquash_start();
// errors generated here are not displayed
stat = OMget_int_val(obj_id, &value);
ERRsquash_end();