Share this page

# 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.

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: