comparison libinterp/corefcn/utils.cc @ 18062:aca545afdf25 stable

doc: Add seealso links to find_dir_in_path function. * utils.cc (Ffile_in_loadpath, Ffile_in_path, Ffind_dir_in_path): Add seealso links between these three functions. * variables.cc (Fexist): Add seealso link to find_dir_in_path.
author Rik <rik@octave.org>
date Tue, 03 Dec 2013 12:34:13 -0800
parents 9fc0836cb69b
children ff05d5b70411
comparison
equal deleted inserted replaced
18058:46ca76f194cb 18062:aca545afdf25
301 the first that matches.\n\ 301 the first that matches.\n\
302 \n\ 302 \n\
303 If the second optional argument @qcode{\"all\"} is supplied, return\n\ 303 If the second optional argument @qcode{\"all\"} is supplied, return\n\
304 a cell array containing the list of all files that have the same\n\ 304 a cell array containing the list of all files that have the same\n\
305 name in the path. If no files are found, return an empty cell array.\n\ 305 name in the path. If no files are found, return an empty cell array.\n\
306 @seealso{file_in_path, path}\n\ 306 @seealso{file_in_path, find_dir_in_path, path}\n\
307 @end deftypefn") 307 @end deftypefn")
308 { 308 {
309 octave_value retval; 309 octave_value retval;
310 310
311 int nargin = args.length (); 311 int nargin = args.length ();
378 the first that matches.\n\ 378 the first that matches.\n\
379 \n\ 379 \n\
380 If the third optional argument @qcode{\"all\"} is supplied, return\n\ 380 If the third optional argument @qcode{\"all\"} is supplied, return\n\
381 a cell array containing the list of all files that have the same\n\ 381 a cell array containing the list of all files that have the same\n\
382 name in the path. If no files are found, return an empty cell array.\n\ 382 name in the path. If no files are found, return an empty cell array.\n\
383 @seealso{file_in_loadpath}\n\ 383 @seealso{file_in_loadpath, find_dir_in_path, path}\n\
384 @end deftypefn") 384 @end deftypefn")
385 { 385 {
386 octave_value retval; 386 octave_value retval;
387 387
388 int nargin = args.length (); 388 int nargin = args.length ();
903 @nospell{@qcode{\"/some/dir/foo/bar/baz\"}}\n\ 903 @nospell{@qcode{\"/some/dir/foo/bar/baz\"}}\n\
904 @nospell{@qcode{\"/some/dir/allfoo/bar\"}}.\n\ 904 @nospell{@qcode{\"/some/dir/allfoo/bar\"}}.\n\
905 \n\ 905 \n\
906 The second argument is optional. If it is supplied, return a cell array\n\ 906 The second argument is optional. If it is supplied, return a cell array\n\
907 containing all name matches rather than just the first.\n\ 907 containing all name matches rather than just the first.\n\
908 @seealso{file_in_path, file_in_loadpath, path}\n\
908 @end deftypefn") 909 @end deftypefn")
909 { 910 {
910 octave_value retval = std::string (); 911 octave_value retval = std::string ();
911 912
912 int nargin = args.length (); 913 int nargin = args.length ();