|
| From: | Michael Godfrey |
| Subject: | [Octave-bug-tracker] [bug #40392] function parameter not used in while loop correctly |
| Date: | Sun, 27 Oct 2013 23:52:26 +0000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 |
Follow-up Comment #6, bug #40392 (project octave):
I tried your latest example, replacing x with 200.
I get:
octave:8> prob_002(200)
y = 10
y = 44
y = 188
ans = 188
octave:9> prob_002(200)
y = 10
y = 44
y = 188
ans = 188
octave:10>
=========================
First output above is "x" second is "200"
Third is "200" but using your call:
prob_002 200
I get
octave:11> prob_002 200
y = 10
y = 44
ans = 44
octave:12>
So, the problem is with the usage: prob_200 200
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40392>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |