[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hiding subroutines?
From: |
John W. Eaton |
Subject: |
Hiding subroutines? |
Date: |
Mon, 8 Dec 2003 09:48:00 -0600 |
On 5-Dec-2003, Vic Norton <address@hidden> wrote:
| Is there a way to hide functions that are utilities for a main routine?
Matlab has subfunctions and private functions. Currently, Octave can
handle subfunctions, but not private functions, though I hope that
feature will be implemented eventually. So if you have a single
function that could benefit from some subroutines, subfunctions will
help. If you have a collection of functions that need to share
subroutines, then private functions are what you really want, but
those are not available yet.
jwe
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------