/****************************************************************************** Copyright (c) 1999 Unigraphics Solutions, Inc. Unpublished - All Rights Reserved *******************************************************************************/ /* The code in the following example gets the global preference for suppress preceding zeros. */ #include void ufusr(char *param, int *retcod, int param_len) { int fail; logical option; UF_initialize(); fail = UF_DRF_ask_suppress_pre_zeros(&option); if (fail) printf("Fail on getting global suppress preceding zeros\n); else printf("Succeed on getting global suppress preceding zeros\n"); UF_terminate(); }