2011/6/5 Philippe MALLET <[email protected]>: > Hello, > > there is another mistake: > >>> columns = {"", "OS"}; >>> data={"false","10";"false","11"}; > clic on cancel >>> zenity_list(columns, data, "checklist","numeric output","error") > error: str2double: wrong type argument `cell'
This is again only on 3.4. The new API of str2double returns error if there's anything else than strings in the array. On 3.2 it never failed, it simply returned -1 on the status. > Simply do in zenity_list.m: > ## If user asked for numeric output, convert it to matrix > - if (options.num_out) > + if (status == 0 && options.num_out) Fixed. Thank you. Carnë ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
