Share this page

# lrc_print_variant

Debug Functions

Prints the contents of a variant.

    void lrc_print_variant ( Variant var );

var | Any variant.

The lrc_print_variant function prints a variant. If the variant contains an array or a record, then only the type of the contents is printed.

## Return Values

lrc Return Values

## Parameterization

Parameterization is not applicable to this function.

## Example

This example shows how to print a variant BSTR:

        VARIANT var = lrc_variant_BSTR("HELLO");

        lrc_print_variant(var);

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