[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56187] Support local functions at end of scri
From: |
Andrew Janke |
Subject: |
[Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab |
Date: |
Tue, 23 Apr 2019 07:35:24 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 |
Follow-up Comment #9, bug #56187 (project octave):
I see a possible conflict in the future, but this is purely speculative on my
part: Because Matlab supports nested functions and local functions, but does
not support command-line functions (and their paradigm really isn't to do
that), I would bet that if Matlab were to add support for functions in the
middle of script files in the future, they would be treated as nested
functions local to the script, instead of global command-line functions. At
which point Octave's support for command-line functions in scripts would be
incompatible with it.
This is purely hypothetical, though.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56187>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab, Andrew Janke, 2019/04/21
- [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab, Mike Miller, 2019/04/21
- [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab, Andrew Janke, 2019/04/21
- [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab, Mike Miller, 2019/04/21
- [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab, John W. Eaton, 2019/04/22
- [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab, Mike Miller, 2019/04/22
- [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab, John W. Eaton, 2019/04/22
- [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab, Andrew Janke, 2019/04/23
- [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab, John W. Eaton, 2019/04/23
- [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab,
Andrew Janke <=
- [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab, John W. Eaton, 2019/04/23
- [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab, Andrew Janke, 2019/04/23
- [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab, Mike Miller, 2019/04/23
- [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab, Mike Miller, 2019/04/23
- [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab, John W. Eaton, 2019/04/23
- [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab, Andrew Janke, 2019/04/23