Posted by Glenn Tanner on January 01, 2004 at 21:11:16:
Some years ago I wrote a String Search program for CED and Text source files using the FSTAT function to get to the next file to search. Now it doesn't work when it comes to a source text file with the IBS extension. At some point in time position 35 in FSTAT had been changed from 8 bytes to 11 bytes. Changed the field in my program from 8 to 11 bytes, still bombed and changed to 12 bytes which it would be to include the dot. Still bombed. Can fix it to by-pass any IBS extensions, but that would be defeating the purpose
Further examination of FSTAT will not consider any file more than 8 bytes.
When using the latest Comet Utility C2K4.331 SOURCE STRING SEARCH program, the program simply bypasses any file name greater than 8 bytes which includes any file with the IBS extension making the search not accurate.
It is possible under Windows to do a string search, but more information can be obtained using the FSTAT function.
Is there any way to get the next file for searching purposes when the IBS extension is involved?