COM Vuser Functions (LRC) > Alphabetical List of Functions > lrc_variant_short

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.