fre, 26 03 2010 kl. 18:31 -0400, skrev Carnë Draug:
> I slept over this and I think it's better to return a cell array only
> with 'mutiple'. I have three reasons for this:
> 1 - when someone picks 'single', he'll be most likely expecting a string;
> 2 - If only one string is expected as output, then he probably doesn't
> want to write {1} through the code. In the case that he does want the
> string in a cell array, together with other stuff, it makes more sense
> to be him doing it, and place the output in the right cell;
> 3 - backwards compatibility.I agree with this. Søren ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
