James/Rob below is sample of my data, OK forget my simplifying, between the data sets the count can vary, either 23 or 24, number of data sets is knowm - 4,
Thanks again for trying to help Steve ===============Data==================== 1 (5) ##consider this line number known,, 23 lines to next set 5700 Naahy 14 M R Channon 3 9-7 A Culhane 100 95 113 2 (1) ## this is second set of data, 23 lines to next set 3110 Arzoo 14 L M Cumani 3 9-2 D Holland 95 93 112 3 (7) ## third set , 22 lines to next set 2231 Circuit Dancer 44 A Berry 3 8-11 F Lynch 90 93 112 4 (3) ## forth set -606 Flying Express 8 B W Hills 3 8-11 M Hills 90 91 116 -----Original Message----- From: James Edward Gray II [mailto:[EMAIL PROTECTED] Sent: 13 October 2003 17:16 To: Steve Massey Cc: [EMAIL PROTECTED] Subject: Re: design - help On Monday, October 13, 2003, at 11:04 AM, Steve Massey wrote: > 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]