blhs
Mechanical
- Mar 16, 2002
- 3
One of the more frustrating things when coming from Nice Old FORTRAN(NOF) is input/output. I have text output files from programs like NASTRAN which can vary slightly from version to version. My simple FORTRAN code can parse the text line by line and character by character until I match a key word, then the real program can take over. Another program's text output may have a text header but contain a floating point I want to capture, then have inconsistant row data (inconstant due to poor output routines of the originating code such that one line has 5 floats, the next five more, then two, then five, etc.). I am forcing myself to use Matlab as a general rule these days, but fundamental I/O like this is not obvious (to me anyway).
Has anyone conquered this (and how)???
Has anyone conquered this (and how)???