ction erg=check2dfile(fname)">check2dfile</a>(datfile); <span class="comment">%1-res2dinv,2-unified data,3-raw,4-resecs</span>
0026     <span class="comment">% if unknown &amp; *.txt -&gt; resecs</span>
0027     <span class="keyword">if</span> (cf==0)&amp;&amp;isequal(lower(ext),<span class="string">'.txt'</span>), cf=4; <span class="keyword">end</span> <span class="comment">%resecs</span>
0028 <span class="comment">%     if findex==4, cf=4; end %does not work on v6.5</span>
0029     <span class="keyword">s