help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Replacement for DEFCONST, DEFVAR, DEFCONST_INTERNAL


From: John W. Eaton
Subject: Replacement for DEFCONST, DEFVAR, DEFCONST_INTERNAL
Date: Tue, 2 Jan 2007 22:10:46 -0500

On  3-Jan-2007, Muthiah Annamalai wrote:

| Please let me know, the correct way of declaring constants in Octave
| code.

Use a function that simply returns the value of the constant.  This is
what Octave does now.

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]