From bug-octave-request at bevo dot che dot wisc dot edu Fri Jan 23 07:51:01 2004 Subject: Syntax error in [ones (1,2); 2 2 ] (2.1.52) From: "John W. Eaton" To: etienne at cs dot uky dot edu Cc: bug-octave at bevo dot che dot wisc dot edu Date: Fri, 23 Jan 2004 07:50:08 -0600 On 23-Jan-2004, Etienne Grossmann wrote: | Subject: Syntax error in [ones (1,2); 2 2 ] | -------- | Bug report for Octave 2.1.52 configured for i386-pc-linux-gnu | | Description: | ----------- | | Octave has problems w/ the space between ones and (1,2)? | | Repeat-By: | --------- | | octave:6> [ones (1,2); 2 2 ] | parse error: | | syntax error | | >>> [ones (1,2); 2 2 ] | ^ Yes, because Octave now always parses this as Matlab does: [ones, (1, 2); 2, 2] which doesn't make sense. 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 -------------------------------------------------------------