[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
dangling number producing strange display
From: |
CdeMills |
Subject: |
dangling number producing strange display |
Date: |
Wed, 4 Dec 2013 10:07:51 -0800 (PST) |
Hello,
I had a hard time understanding the following behaviour:
x = 0
for indi=(1:10) 120
x=x+1;
end
during execution, I got:
ans = 120 [repeated 10 times]
The dangling '120' was introduced by accident while modifying some file. Is
it legal syntax ? What is the behaviour under MatLab ?
Regards
Pascal
--
View this message in context:
http://octave.1599824.n4.nabble.com/dangling-number-producing-strange-display-tp4659799.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
- dangling number producing strange display,
CdeMills <=