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

lrc_int

Example: lrc_int Type Conversion From String

Converts a string into an integer.

int lrc_int( const char* str );
int* lrc_int_by_ref( const char* str );
str A character string containing an integer.

The lrc_int function returns an integer when a character string representing an integer is input. The argument can be a literal string, a variable, or a parameter.

The lrc_int_by_ref function returns pointer to an integer when a character string representing an integer is input. The argument can be a literal string, a variable, or a parameter.

Return Values

lrc Return Values

Parameterization

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