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

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

[Octave-bug-tracker] [bug #53871] Increment with += gives error in .m fi


From: Doug Stewart
Subject: [Octave-bug-tracker] [bug #53871] Increment with += gives error in .m file
Date: Thu, 10 May 2018 11:23:43 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36

Follow-up Comment #5, bug #53871 (project octave):

ok. Just to make it clear: The problam is when the var. is defined at the
command prompt and then incrumented from a script.

This works in an M file.

count=3

for k=1:4
  count += 1
endfor

But if you define count outside of the M file then it can't parse the M file


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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