[Kst] Re: branches/work/kst/portto4/kst/src/datasources/ascii

Peter Kümmel syntheticpp at gmx.net
Thu Jan 20 14:05:12 CET 2011


> If I understand it right, you add to _strings (why not _StringList as the others?) the unparseable lines, i.e. more or less the lines without numbers in them. That's not what I meant. I meant the header lines, as defined in the ASCII config dialog. In the case of the HC_case1.txt file I added yesterday as sample that would mean the following two lines:
> Line 1 = "First test - low speed"
> Line 2 = "Pitch input"

I forgot that there is a header option, but is used now.
> I would actually leave it at that, as other lines are probably less interesting and there could be a whole slew of them, e.g. if we select the wrong file.

Yes, this is really a risk. I've not removed the code, only commented out, we could add a option in the
dialog. Is maybe usfull for debugging loading of ascii files.

Peter


More information about the Kst mailing list