in reply to INDEX limits

Can you please show the output when running your program? And any error message you're getting?