From help-request at octave dot org Mon May 16 21:29:52 2005 Subject: Re: Loading .csv files From: "John W. Eaton" To: =?ISO-8859-1?Q?S=F8ren_Hauberg?= Cc: Octave Help Date: Mon, 16 May 2005 22:25:37 -0400 On 16-May-2005, Søren Hauberg wrote: | Couldn't one simply do something like this | | if (exists(datapath)) | use datapath | else | use loadpath | endif Yes, this would seem to be a reasonable thing to do. To make it work, DATAPATH would need to be undefined initially. But a user cannot currently create a built-in variable at the command line, so there could be some difficulty in making this work properly given the current implementation. In any case, I have no plans to work on this feature, or making Octave's load and fopen functions search the LOADPATH if the file is not found in the current directory. Patches are welcome if someone else would like to look at it. 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 -------------------------------------------------------------