help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

different number of leading spaces for odd/even indices in screen output


From: Sergei Steshenko
Subject: different number of leading spaces for odd/even indices in screen output
Date: Wed, 1 Aug 2012 10:30:40 -0700 (PDT)

Hello,

here is a screen session from my self-built octave-3.6.2 on Linux:

"
octave:1> foo = [1:10]
foo =

    1    2    3    4    5    6    7    8    9   10

octave:2> foo(1:2:end)
ans =

   1   3   5   7   9

octave:3> foo(2:2:end)
ans =

    2    4    6    8   10

octave:4>                    

"

- hopefully one can see that output of "foo(1:2:end)" has one leading space 
less than the other two cases:

   1   3   5   7   9
    2    4    6    8   10


- is it supposed to be this way ?

...

I've also noticed that number of spaces between the elements is different.

It's not a real problem, but might indicate a "sleeping" bug in output routines.

Thanks,
  Sergei.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]