Nice chicken..
I should have been more clear.
The last routine expects the data file like this:
***** test file (gage,stock,slips) *****
*12
26.0,96.0,0.5
*31
24.0,60.0,1.75
Note that the data line follows the code flag line *12 followed by 26.0,96.0,0.5
====================================================================================
The routine before that expects the data line to be before the code flag like this:
***** test file (gage,stock,slips) *****
26.0,96.0,0.5
*12
24.0,60.0,1.75
*31
Note that the code line follows the data line 26.0,96.0,0.5 followed by *12
Just two options & how the data format affects the coding.
I got carried away, what can I say...
CAB