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

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

[Octave-bug-tracker] [bug #58198] Comments not being parsed correctly in


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #58198] Comments not being parsed correctly in REPL
Date: Sat, 18 Apr 2020 08:29:13 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

Follow-up Comment #3, bug #58198 (project octave):

Using current dev Octave 7.0.0 and Fedora 31 I get:
for:
for i = 1:10
  # i represents the index
  disp(i)
end
I get:
octave:1> for i = 1:10
>   # i represents the index
octave:1>   disp(i)
 0 + 1i
octave:2> end
error: parse error:

  syntax error

>>> end
         ^

For:
for i = 1:10
  # i represents the index
  disp(i)
end
I get:
octave:2> for i = 1:10
>   disp(i) # i represents the index
> end
1
2
3
4
5
6
7
8
9
10
octave:3> 

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58198>

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




reply via email to

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