Share this page

# lrc_ushort

Type Conversion From String

Converts a string into an unsigned short integer.

    unsigned short lrc_ushort( const char* str );

    unsigned short lrc_unsigned_short( const char* str );

    unsigned short* lrc_ushort_by_ref( const char* str );

str | A character string containing an unsigned short integer

The lrc_ushort function returns an unsigned short integer when a character string containing an unsigned short integer is input.

The lrc_ushort_by_ref function returns pointer to an unsigned short integer when a character string containing an unsigned 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 "150" string into the unsigned short value 150:

    unsigned short var = lrc_ushort("150");

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: