Hi Brendan,
Your observation is correct.
The indentation is deliberate. The reason is that the (result7,i,3) starts with the word "FOREIGN KEY ". I am using the details that follow after this blurb.
All other keywords which are searched in usingpos = strstr(indexdef, " KEYWORD ") , the KEYWORD are embedded somewhere in between in the output. Hence indentation given is that of four spaces considering the final output that it is desired.
Thanks,
Kenneth
Windows Live Spaces : Help your online world come to life, add 500 photos a month.
Try it!