Add lineNum() function(s) to mapping expressions supported by the FlatFileParser
|Reported by:||Nicklas Nordborg||Owned by:||Nicklas Nordborg|
With this function we can import data and use the current line number as a value. There should be options for using the real line number or only the line number among the data lines (ie. do not count header lines). We may also need to reset the line number in each section. Hmm.. I think we need two functions
- lineNum() gets the actual line number from the file
- dataNum() get the data line number and is reset at each section
Ticket #486 may depend on this if we need to fake coordinates on the array design.