Rob/James
Thanks for trying to help so far, I think i need to explain a bit more.
Yeah, I appreciate your attempts to simplify it for us, but in the process, I think you changed the problem. ;)
The file contains varying data, empty, numeric, text
data is processed in between the ordered numbers say ..1 2 3 4, the only
thing I can be certain of is,
1) line 3 will contain number one(start of data set 1) - when checked I can
process it's data
2) there will be a count of 3 or 4 to number 2(start of data set 2) - when
checked I can process it's data
3) above line repeats to end
4) end is known when number 4 has been found and processed
Sorry, it's probably just because I'm dumb, but I'm still having a hard time picturing this mentally. Could you please send a sample of the real data file format?
my idea was to process the file confirming each number found, and pushing
the line numbers into an array for further processing, I just have a mental
block on how to deal with the varying increments
My gut reaction is, don't. The varying increments would be pretty tough to sort out, without some other pattern, which is why I'm searching for one.
Send some actual data and we'll fix you up.
James
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]