formZ SDK | 5.0 API Reference | System | Data Type
Description
This function performs the following data type conversions:
Variant Type Conversion
fzrt_boolean TRUE -> 1; FALSE -> 0.
char value clamped to range of 0 to 127.
unsigned char value copied, no data lost.
short value clamped to range of 0 to 32767.
unsigned short value copied, no data lost.
fzrt_int bits copied, value < 0 wrap to range of -(2^31) to 0.
float value converted to integer then clamped to range of 0 to (2^32)-1.
double value converted to integer then clamped to range of 0 to (2^32)-1.
Plugin Prototype
fzrt_error_td fz_type_get_ulong(
type, | |
fzrt_unsigned_int * | lval ) |
Parameters
type [Input]
A pointer to a variant
lval [Result]
A pointer to a value to be filled. Must be allocated by the caller.
Availability
5.0.0.0
See Also
Function Set
Defined in