Share this page

# lrc_variant_bool

Example: lrc_variant_bool | Assignment to Variants

Assigns a string to a Boolean value in a variant.

    VARIANT lrc_variant_bool( const char* str );

    VARIANT lrc_variant_bool_by_variant( const char* str );

str | A character string containing either "true" or "false"

The lrc_variant_bool function converts a string containing either "true" or "false" into a Boolean value stored in a variant.

The lrc_variant_bool_by_variant function converts a string containing either "true" or "false" to a Boolean value and returns a variant containing a reference to the variant containing the value.

## Return Values

lrc Return Values

## Parameterization

Parameterization is not applicable to this function.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: