COM Vuser Functions (LRC) > Alphabetical List of Functions > lrc_bool

lrc_bool

Example: lrc_bool Type Conversion From String

Converts a string into a Boolean variant.

VARIANT_BOOL lrc_bool( const char* str );
VARIANT_BOOL* lrc_bool_by_ref( const char* str );
str A character string containing "true" or "false".

The lrc_bool function returns a Boolean value when a character string containing "true" or "false" is input.

The lrc_bool_by_ref function returns a pointer to a Boolean value when a character string containing "true" or "false" is input.

Return Values

lrc Return Values

Parameterization

You cannot use standard parameterization for any arguments in this function.