NAME ctoi - convert string at in(i) to integer, increment i SYNOPSIS n = ctoi(in, i) character in(ARB) integer i # i is incremented integer n is returned as the converted integer DESCRIPTION Converts a character string to an integer. Starts looking at position i of in. Plus and minus signs are not allowed. Leading blanks and tabs are ignored; any subsequent digits are converted to the correct numeric value. The first non-digit seen terminates the scan; upon return, i points to this position. n is returned as the value of the integer. The in array is an ascii character array terminated with an EOS marker (or a non-numeric character). Zero is returned if no digits are found. SEE ALSO itoc DIAGNOSTICS There are no checks for machine overflow.