help-octave
[Top][All Lists]
Advanced

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

echo_executing_commands under 3.6.2 and 3.8.1


From: Sigbert Klinke
Subject: echo_executing_commands under 3.6.2 and 3.8.1
Date: Sat, 26 Apr 2014 22:20:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

Hi,

the call of

  octave -qf < test.m

with test.m:

  echo_executing_commands(4);
  echo_executing_commands()
  magic(5)
  echo_executing_commands(0);

delivers with octave 3.6.2 (debian 7.4):

  + echo_executing_commands()
  ans =  4
  + magic(5)
  ans =

     17   24    1    8   15
     23    5    7   14   16
      4    6   13   20   22
     10   12   19   21    3
     11   18   25    2    9

  + echo_executing_commands(0);

and under octave 3.8.1 (ubuntu 14.04):

  ans =  4
  ans =

     17   24    1    8   15
     23    5    7   14   16
      4    6   13   20   22
     10   12   19   21    3
     11   18   25    2    9

If I call octave from the command line and type in the commands by hand then in both versions of octave behave like in 3.6.2.

1.) Bug or feature?
2.) If it is a feature then how can I get the same behaviour in 3.8.1 as in 3.6.2? I would like to see the echoed commands.

Thanks in advance

Sigbert



reply via email to

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