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
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");

