Re: Bug in Octave 8.2.0
Ian McCallion <[email protected]> Mon, 3 Jul 2023 11:13:42 +0100
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <CAFgLC_EgBKf7D=s8Ss7yPFK_uk9rfUX17XOmuzes4tJDi2G6sQ@mail.gmail.com> |
The problem seems to be in the first line of fullfile which converts all empty parameters into [] On Mon, 3 Jul 2023 at 11:01, Ian McCallion <[email protected]> wrote: > fullfile() operates on strings or cells. so: > fullfile('path', {'a','b'}) > produces: > ans = > { > [1,1] = path\a > [1,2] = path\b > } > > However: > fullfile('path', {}) > produces: > ans = path > > This is surely a bug?? {} is not the same as '' > > Cheers... Ian > ---------- We are transitioning to a web based forum for community help discussions at https://octave.discourse.group/c/help