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
Parameterization
Parameterization is not applicable to this function.
Example
This example assigns the specified string to a short integer type in a variant
VARIANT var = lrc_variant_short("25");

