Share this page

# lrc_<type>_by_ref

Example: lrc_<type>_by_ref | Type Conversion From String

Allocates memory of the specified type, and initializes it with a value.

    int * lrc_<type>_by_ref( const char* str );

str | A character string containing an integer.

The lrc_<type>_by_ref function allocates memory for a pointer to a variable of type <type>, and initializes it with the value contained in str.

## Return Values

This function returns a pointer of type <type>.

## Parameterization

The following argument can be parameterized using standard parameterization: str

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