in reply to Re^3: Parsing .txt into arrays
in thread Parsing .txt into arrays
1)in the table here I want an array locker which should contain all the values in the column,
2)also in the given table as you can see there are blanks which mean they are same as the value previously present in the column, is it possible to repeat the same value as previous for the blanks and also there is a header which contains time etc ,
3)as you can see there are 11 rows here I want an array which has time and repeated 11 times (number of rows) and similarly for sequence and range .
4)I want to use key word 1349F.63 here to find the similar tables (there are other tables with heading as "position log table"but with different extension),
5)from the first line I want to extract the 4th value ie in this case 1349F.63.
6)I see you are using last line before the table starts say I want to look at 13th line before the table to decide which particular table I want to store (and also store those 13 header lines in the format mentioned above)
7) I don't want to print all the tables I want to print only the tables which have the key word say "1349F.63" in this case prints all position log table corresponding to the extension
thanks for the helpPosition log table 1349F.63 time 10:23:66 sequence = 39 range = 6678 | | |Pos |value | |bulk|lot| prev| newest| |# |Locker|(dfg) |(no) |nul|val |Id | val |val | ----------------------------------------------------------- | 0| 1| 302832| -11.88| 1| 0|Pri| 16| 0| | 5| | | | | | | | | | 6| | | | | | | | | | 7| | | | | | | | | | 1| 9| 302836| 11.88| 9| 0|Pri| 10| 0| | 2| 1| 302832| -11.88| 5| 3|Pri| 14| 4| | 5| | | | | | | | | | 6| | | | | | | | | | 7| | | | | | | | | | 3| 3| 302833| 11.88| 1| 0|sec| 12| 0| | 4| 6| 302837| -11.88| 1| 0|Pri| 16| 3|
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Parsing .txt into arrays
by Marshall (Canon) on Jun 04, 2017 at 01:44 UTC | |
by Fshah (Initiate) on Jun 07, 2017 at 06:30 UTC | |
by Marshall (Canon) on Jun 07, 2017 at 07:35 UTC | |
by Fshah (Initiate) on Jun 12, 2017 at 04:37 UTC | |
by Marshall (Canon) on Jun 13, 2017 at 01:52 UTC | |
|