octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #8783] C++ implementation of textscan


From: Philip Nienhuis
Subject: [Octave-patch-tracker] [patch #8783] C++ implementation of textscan
Date: Wed, 24 Feb 2016 18:19:10 +0000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:41.0) Gecko/20100101 Firefox/41.0 SeaMonkey/2.38

Follow-up Comment #59, patch #8783 (project octave):

Of course the new version works, I never doubted that :-)

I think it is prudent enough to start amending (stripping) strread.m and
textread.m now; they'll probably be pushed only after textscan.cc has been
integrated in core Octave. I could attach the fixed versions here.

If "ReturnOnError, 1" is specified textscan should return the elements already
read and return a file pointer pointing to a position immediately preceding
the offending field in the file. As a C++ n00b I'd think of a try-catch but
the new error functions may be better suited.

There's another not-yet-implemented property/value pair that Matlab does have:
ExpChar.

I hope to find time soon to close a lot of related bug reports w.r.t. missing
features in textscan/strread/textread and make them dependent on this report.
There must be 5 or 6 of them (maybe even more), several assigned to me.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8783>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]