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);