|
From: | addons_zz |
Subject: | [Octave-bug-tracker] [bug #46718] Unable to create classes |
Date: | Mon, 7 Nov 2016 17:22:36 +0000 (UTC) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36 |
Follow-up Comment #5, bug #46718 (project octave): Creating classes To create a class you need to make a folder prefixed with the symbol @. Inside the folder you need to create the constructor which is a function with the same name as the folder. For example, a class called dummy will be created in the folder @dummy and inside we should find a function (a method) dummy.m. The minimal content of this method is. http://wiki.octave.org/Object_oriented_programming _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?46718> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |