|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #56187] Support local functions at end of scripts like Matlab |
Date: | Tue, 23 Apr 2019 13:55:14 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 |
Follow-up Comment #12, bug #56187 (project octave): > Maybe we could repurpose the `global` keyword I think something backwards compatible would be nice, how about a special comment tag that marks the m-file as an import script? The following would work in old versions of Octave and in the latest Octave if this support is added ## OCTAVE-SPECIAL-IMPORT-MARKER 1; function myfunc1 ... _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56187> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |