Share this page

# lrc_short

Type Conversion From String

Converts a string into a short integer.

    short lrc_short( const char* str );

    short* lrc_short_by_ref( const char* str );

str | A character string containing a short integer.

The lrc_short function returns a short integer when a character string representing a short integer is input.

,p>

The lrc_short_by_ref function returns pointer to a short integer when a character string representing a short integer is input.

## Return Values

lrc Return Values

## Parameterization

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

## Example

This example converts the "15" string into the short value 15:

    short var = lrc_short("15");

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: