Share this page

# lrc_variant_ulong

Assignment to Variants

Assigns a string to an unsigned long integer in a variant.

    VARIANT lrc_variant_ulong( const char* str );

str | A character string representing an unsigned long integer.

The lrc_variant_ulong function converts a string to an unsigned long integer and returns it stored in a variant.

## Return Values

lrc Return Values

## Parameterization

Parameterization is not applicable to this function.

## Example

This example assigns a string to an unsigned long integer stored in a variant.

    VARIANT var = lrc_variant_ulong("215000");

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: