Share this page

# lrc_variant_short

Example: lrc_variant_short | Assignment to Variants

Assigns a string to a short integer in a variant.

    VARIANT lrc_variant_short( const char* str );

    VARIANT lrc_variant_short_by_variant( const char* str );

str | A character string representing a short integer.

The lrc_variant_short function converts the string to a short integer and returns it in a variant.

The lrc_variant_short_by_variant function converts the string to a short integer and returns a variant containing a reference to a variant containing the short 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: