[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44036] interpreter does not recognize classde
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #44036] interpreter does not recognize classdef (syntax error) |
Date: |
Mon, 19 Jan 2015 12:45:02 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.3.0 |
Follow-up Comment #4, bug #44036 (project octave):
A simple usage case, which I believe is related to this, is being able to
define a new class on an Octave program or script. We can do this in Octave
(not in Matlab), and it's a great feature which allows us to write a program
in a single file, i.e., something such as
#!/usr/bin/octave -qf
1;
classdef new_class
...
endclassdef
function foobar ()
...
endfunction
## a much nicer programming language
Also, being able to define things at the prompt is very handy while writing
code. One probably won't create new classdef at the prompt to work on real
time, but may do so to test one while writing it.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44036>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/