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: Ben Abbott
Subject: [Octave-patch-tracker] [patch #8783] C++ implementation of textscan
Date: Sat, 19 Mar 2016 01:16:46 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4

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

Mike

The correct behavior is below


>> c = textscan (sprintf ('1 2 3\n4 s 6\n'), '%f %f %f', 'ReturnOnError', 1)
c = 
{
  [1,1] =

     1
     4

  [1,2] =  2
  [1,3] =  3
}


I think I've figured how to update the changeset. The modified version is
attached (my c++ skills are very poor). The tests still need to be corrected.


(file #36693)
    _______________________________________________________

Additional Item Attachment:

File name: textscan-return_on_error-updated.diff Size:0 KB


    _______________________________________________________

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]