Octave 3.0.3 has some new behavior:

With 3.0.1:
 >
 > octave:3> t = ""
 > t =
 > octave:4> t(1,:) = ""
 > t =
 >
 > With 3.0.3:
 >
 > octave:1> t=""
 > t =
 > octave:2> t(1,:) = ""
 > error: A(idx) = []: index out of range
 > error: assignment failed, or no method for `string = string'
 > error: evaluating assignment expression near line 2, column 8

Apparently this is intentional - from Jaroslav Hajek:

Assigning [], '' or "" directly means deleting, not
inserting, so out-of-range indices are not allowed.

This affects the test_octave.sh script:

t = split("$options", "-"); t(1,:)="";

if $options in empty, which it normally is I believe.

Help?

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [email protected]
Boulder, CO 80301              http://www.cora.nwra.com

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to