formZ SDK | 5.0 API Reference | System | Data Type
Description
This function performs the following data type conversions:
Variant Type Conversion
char Non-zero value -> TRUE; 0 -> FALSE.
unsigned char Non-zero value -> TRUE; 0 -> FALSE.
short Non-zero value -> TRUE; 0 -> FALSE.
unsigned short Non-zero value -> TRUE; 0 -> FALSE.
fzrt_int Non-zero value -> TRUE; 0 -> FALSE.
fzrt_unsigned_int Non-zero value -> TRUE; 0 -> FALSE.
float Non-zero value -> TRUE; 0.0 -> FALSE.
double Non-zero value -> TRUE; 0.0 -> FALSE.
Plugin Prototype
fzrt_error_td fz_type_get_boolean(
type, | |
bval ) |
Parameters
type [Input]
A pointer to a variant
bval [Result]
A pointer to a value to be filled. Must be allocated by the caller.
Availability
5.0.0.0
See Also
fz_type_set_boolean, fz_type_get_boolean_ptr
Function Set
Defined in