|
| From: | Markus Mützel |
| Subject: | [Octave-bug-tracker] [bug #58323] '...' continuation marker causes parse error when executed with "run selection" in GUI editor |
| Date: | Mon, 11 May 2020 02:45:18 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0 |
Follow-up Comment #28, bug #58323 (project octave):
There might be another issue with the current design:
Assume the following code snippet:
for i=1:3
disp(i)
end
In Matlab, I can mark the first two lines and "F9" them. Then at the command
prompt, I would be able to enter any command (e.g. "a=3"). After that, I can
mark the last line of the above code snippet and "F9" it.
The result would be the following:
>> for i=1:3
disp(i)
a=3
end
1
a =
3
2
a =
3
3
a =
3
I haven't tried if that would work in Octave (but I think it wouldn't).
I also don't know if this is a use case we need to support. What do you think?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58323>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |