TutOptionSetNum set the value of a numeric option
option
option to set
num_val
numeric value to set option to
TRUE
if value is set successfully, FALSE
otherwise.
If TutOptionSetNum fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TutOptionSetNum sets the numeric value of option
to num_val
.
None
This example sets the value of the option named num_opt
to 10.0
:
T_OPTION num_opt; num_opt = TutOptionLookup("num_opt"); if (num_opt == NULL) {/* error */
} if (!TutOptionSetNum(num_opt, 10.0)) {/* error */
}
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |