From bug-request at octave dot org Wed Dec 7 18:31:23 2005 Subject: Re: str2num.m can't handle LF character. From: "John W. Eaton" To: Paul Kienzle Cc: Bill Denney , "Frederick (Rick) A Niles" , bug@octave.org Date: Wed, 7 Dec 2005 19:31:17 -0500 On 7-Dec-2005, Paul Kienzle wrote: | Is lex greedy? Yes. | if 3 == 1 ... | + 2 | 'true' | else | 'false' | endif | | will print different things if fed '\r\n' as two NL tokens | rather than one. It will now do the same thing (print 'true') if the continuation is followed by \r, \n, or \r\n. jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------