Ive been continually getting this error and it seems nothing i try works. I know it has to do with the subscripts being out of range i just cant figure out why.
Why doesnt this code here https://gist.github.com/anonymous/3db78aa7e80d8f5ce50d3a3eea3bf527
fix the problem?
its only an issue if i type in a single character. if i type in 2 it works. im assuming its because [i] == [0], not sure how 0 can be out of range for an index. could [i] == [-1] ???
any help would be nice.