[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LOADPATH
From: |
Roberto Hernández |
Subject: |
Re: LOADPATH |
Date: |
Mon, 13 Aug 2001 11:54:16 -0300 |
Thanks, it worked. Sorry about the trivial question, I had tried "help -i
startup" and none of this was mentioned.
> 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
-------------------------------------------------------------