Share this page

# lrc_long

Type Conversion From String

Converts a string into a long integer.

    long lrc_long( const char* str );

    long* lrc_long_by_ref( const char* str );

str | A character string containing a long integer.

The lrc_long function returns a long integer value when a character string representing a long is input.

The lrc_long_by_ref function returns a pointer to a long integer value when a character string representing a long is input.

## Return Values

lrc Return Values

## Parameterization

You cannot use standard parameterization for any arguments in this function.

## Example

This example converts the "2134967291" string into the long value 2134967291:

    long var = lrc_long("2134967291");

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: