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