|
From: | Michael C. Grant |
Subject: | [Octave-bug-tracker] [bug #41202] Spurious output when path() called with 'echo on' |
Date: | Sat, 11 Jan 2014 04:04:00 +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 #4, bug #41202 (project octave): Rik, regarding "path": I think you actually have the *change* the path for that internal script to be executed and echo-ed. Just typing "path" with no arguments won't do anything, I agree. Here's the output of "echo on all" for func1. Octave: >> echo on all >> func1(1) function y = func1 (x) script2 x = x + 1; endscript; script2 x = x + 1; endscript; y = x; endfunction; ans = 3 MATLAB: >> echo on all >> func1(1) script2 x = x + 1; script2 x = x + 1; y = x; ans = 3 So there is closer agreement with "echo on all". _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?41202> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |