From bug-octave-request at bevo dot che dot wisc dot edu Fri Sep 28 10:51:11 2001 Subject: Comment in litteral matrix changes matrix structure From: To: Date: Fri, 28 Sep 2001 10:51:02 -0500 I've noticed that a Comment in litteral matrix changes it's structure. This appears to be a bug to me. > a=[1,2,3,4,... > 5,6,7,8 ]; disp(a) 1 2 3 4 5 6 7 8 > a=[1,2,3,4,... > # Comment > 5,6,7,8 ]; disp(a) 1 2 3 4 5 6 7 8 also with string matrices > a=["abcd", ... > "123" ]; disp(a);disp(toascii(a)) abcd123 97 98 99 100 49 50 51 > a=["abcd", ... > # Comment > "123" ]; disp(a);disp(toascii(a)) abcd 123 97 98 99 100 49 50 51 32 _______________________________________ Andy Adler, adler at ncf dot ca ------------------------------------------------------------- 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 -------------------------------------------------------------