[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LOADPATH
From: |
John W. Eaton |
Subject: |
Re: LOADPATH |
Date: |
Fri, 10 Aug 2001 14:34:12 -0500 |
On 10-Aug-2001, Dirk Eddelbuettel <address@hidden> wrote:
| One way is
|
| octave:> LOADPATH = [DEFAULT_LOADPATH, ":/tmp:/what/ever/you/want"]
|
| As a string is just a row vector, this concatenates.
Another is to start (or end) your LOADPATH with a colon, then the
default loadpath is automatically prepended (or appended). Also, a
doubled colon anywhere in the path is replaced by the default path.
So
LOADPATH = [DEFAULT_LOADPATH, ":/tmp:/what/ever/you/want"]
and
LOADPATH = ":/tmp:/what/ever/you/want"
have the same effect (at least this is how things are supposed to work
in the 2.1.x development versions of Octave).
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
-------------------------------------------------------------
- LOADPATH, Roberto Hernández, 2001/08/10
- Re: LOADPATH, Dirk Eddelbuettel, 2001/08/10
- Re: LOADPATH,
John W. Eaton <=