formZ SDK | 5.0 API Reference | System | Data Type

fz_type_get_boolean

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(

fz_type_ptr

type,

fzrt_boolean *

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

fz_type_fset


Defined in

fz_type_api.h