octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #41202] Spurious output when path() called wit


From: Michael C. Grant
Subject: [Octave-bug-tracker] [bug #41202] Spurious output when path() called with 'echo on'
Date: Sat, 11 Jan 2014 16:17:23 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11

Follow-up Comment #9, bug #41202 (project octave):

OK, here's the test. I created script1.m as follows:


script2
script2
x


Here is MATLAB's output, indicating that echoing occurs within the second
script:


>> script1
script2
x = x + 1;
script2
x = x + 1;
x

x =

     3



So that means that "echo on" behavior is this: commands are echoed in
- scripts
- scripts called by scripts
BUT NOT
- functions
- scripts called by functions
- scripts called by scripts called by functions




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41202>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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