Contents page

Atoi()


    USAGE

        long Atoi(String, Base)

    FUNCTION

        This is a generic ASCII to integer conversion routine. Given a string and a
        number base, it returns a value. You can use any base from 2(binary) up to
        16(hexadecimal)

    INPUTS

        String = Pointer to a null terminated character array with the ASCII number
                 in it

        Base   = Number base, between 2 and 16

    RESULT

        Returns the number

    SEE ALSO

        Itoa