09-19-2007 11:57 AM - edited 09-19-2007 11:57 AM
@mechanical13 wrote:
Oops, I forgot to include the code..here it is.
This is definitely NOT the way to go!
Since we have these nice record delimiters, it is completely silly to try to match the variable parts (text or numbers) :o. All these extra loops, detours over DBLs, etc will cost you and can lead to errors. Scanning a string into a DBL and then formatting it again to the same string we had before is expensive and pointless. What if a set name does not start with a letter (e.g. "% humidity" or "$ US" or "\codes")?
My code processes your big datafile in well under one second. It could probably be made even faster.
Herea are a few more points:
Message Edited by altenbach on 09-19-2007 10:00 AM
09-19-2007 01:13 PM
09-19-2007 01:30 PM - edited 09-19-2007 01:30 PM
Message Edited by altenbach on 09-19-2007 11:36 AM
09-19-2007 01:59 PM
09-19-2007 05:18 PM
09-19-2007 07:14 PM