|
| From: | John W. Eaton |
| Subject: | [Octave-bug-tracker] [bug #40392] function parameter not used in while loop correctly |
| Date: | Sun, 27 Oct 2013 23:20:05 +0000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130810 Firefox/17.0 Iceweasel/17.0.8 |
Follow-up Comment #3, bug #40392 (project octave):
How do you expect your program to work? Since you modify c inside the loop,
it is possible for c to be less than x when the loop starts, but greater than
x by the time you compute mod(c,2).
_______________________________________________________
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] |