comparison src/load-path.cc @ 6644:004561c38e8f

[project @ 2007-05-21 20:59:26 by jwe]
author jwe
date Mon, 21 May 2007 20:59:26 +0000
parents 0fcc8d65b571
children 49724abe1236
comparison
equal deleted inserted replaced
6643:6a7fc4105bcc 6644:004561c38e8f
1262 } 1262 }
1263 1263
1264 DEFUN (rehash, , , 1264 DEFUN (rehash, , ,
1265 "-*- texinfo -*-\n\ 1265 "-*- texinfo -*-\n\
1266 @deftypefn {Built-in Function} {} rehash ()\n\ 1266 @deftypefn {Built-in Function} {} rehash ()\n\
1267 Reinitialize Octave's @code{LOADPATH} directory cache.\n\ 1267 Reinitialize Octave's load path directory cache.\n\
1268 @end deftypefn") 1268 @end deftypefn")
1269 { 1269 {
1270 octave_value_list retval; 1270 octave_value_list retval;
1271 1271
1272 load_path::update (); 1272 load_path::update ();
1292 } 1292 }
1293 1293
1294 DEFUN (path, args, nargout, 1294 DEFUN (path, args, nargout,
1295 "-*- texinfo -*-\n\ 1295 "-*- texinfo -*-\n\
1296 @deftypefn {Function File} {} path (@dots{})\n\ 1296 @deftypefn {Function File} {} path (@dots{})\n\
1297 Modify or display Octave's @code{LOADPATH}.\n\ 1297 Modify or display Octave's load path.\n\
1298 \n\ 1298 \n\
1299 If @var{nargin} and @var{nargout} are zero, display the elements of\n\ 1299 If @var{nargin} and @var{nargout} are zero, display the elements of\n\
1300 Octave's @code{LOADPATH} in an easy to read format.\n\ 1300 Octave's load path in an easy to read format.\n\
1301 \n\ 1301 \n\
1302 If @var{nargin} is zero and nargout is greater than zero, return the\n\ 1302 If @var{nargin} is zero and nargout is greater than zero, return the\n\
1303 current value of @code{LOADPATH}.\n\ 1303 current load path.\n\
1304 \n\ 1304 \n\
1305 If @var{nargin} is greater than zero, concatenate the arguments,\n\ 1305 If @var{nargin} is greater than zero, concatenate the arguments,\n\
1306 separating them with @code{pathsep()}. Set the internal search path\n\ 1306 separating them with @code{pathsep()}. Set the internal search path\n\
1307 to the result and return it.\n\ 1307 to the result and return it.\n\
1308 \n\ 1308 \n\