[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with source() ?
From: |
John W. Eaton |
Subject: |
Problem with source() ? |
Date: |
Wed, 18 Nov 1998 11:11:23 -0600 (CST) |
On 18-Nov-1998, I wrote:
| source (file_in_path (FILE))
Ooops. That should be
source (file_in_path (PATH, FILE))
of course, or if you are not sure that FILE actually exists in the
PATH and you want a nice error message, you should probably use
something like
f = file_in_path (PATH, FILE);
if (isstr (f))
source (f);
else
error ("nice error message");
endif
jwe