Next Previous Contents

98. SLatoi

Synopsis

Convert a text string to an integer

Usage

int SLatoi(unsigned char *str

Description

SLatoi parses the string str to interpret it as an integer value. Unlike atoi, SLatoi can also parse strings containing integers expressed in hexidecimal (e.g., "0x7F") and octal (e.g., "012".) notation.

See Also

SLang_guess_type


Next Previous Contents