Share this page

# lrc_variant_int_by_ref

Assignment to Variants - By Reference and By Variant

Assigns a string to an integer stored by reference in a variant.

    VARIANT lrc_variant_int_by_ref( const char* str );

str | A character string representing an integer.

The lrc_variant_int_by_ref assigns a string to a integer stored by reference in a variant.

## Return Values

lrc Return Values

## Parameterization

Parameterization is not applicable to this function.

## Example

This example assigns a string to a integer stored by reference in a variant.

    VARIANT var=lrc_variant_int_by_ref("5000");

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: