Re: Possible issue with disp and inputname

Nicholas Jankowski <[email protected]>
Newsgroups gmane.comp.gnu.octave.maintainers
Message-ID <CABNpfR-XHpEVuwbQAbbO56e+au0PdGcp3nqaML4D5mja5fj4zw@mail.gmail.com>
>
> Apparently this code works in matlab. I say apparently because I asked a
> colleague to test the full version and it works, I says something like:
>
> >> xx
> xx =
> xx


confirming using Octave 5.2.0 and Matlab 2020a:

Octave:

octave:4> format compact
octave:5> xx = dispbug()
xx =


octave:6> xx
xx =


octave:7> disp(xx)
xx

Matlab:

>> format compact
>> xx = dispbug()
xx =
xx
>> disp(xx)
xx
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.