comparison src/parse.y @ 9038:fca0dc2fb042

Cleanup documentation files stmt.texi and func.texi Spellcheck Style check (especially two spaces after period) Info menu now uses @code macro when describing code statements such as while, for, if, etc.
author Rik <rdrider0-list@yahoo.com>
date Sun, 22 Mar 2009 11:15:35 -0700
parents fde2a916b2ac
children 97aa01a85ea4
comparison
equal deleted inserted replaced
9037:4cb9f994dcec 9038:fca0dc2fb042
3454 @deftypefn {Built-in Function} {} autoload (@var{function}, @var{file})\n\ 3454 @deftypefn {Built-in Function} {} autoload (@var{function}, @var{file})\n\
3455 Define @var{function} to autoload from @var{file}.\n\ 3455 Define @var{function} to autoload from @var{file}.\n\
3456 \n\ 3456 \n\
3457 The second argument, @var{file}, should be an absolute file name or\n\ 3457 The second argument, @var{file}, should be an absolute file name or\n\
3458 a file name in the same directory as the function or script from which\n\ 3458 a file name in the same directory as the function or script from which\n\
3459 the autoload command was run. @var{file} should not depend on the\n\ 3459 the autoload command was run. @var{file} should not depend on the\n\
3460 Octave load path.\n\ 3460 Octave load path.\n\
3461 \n\ 3461 \n\
3462 Normally, calls to @code{autoload} appear in PKG_ADD script files that\n\ 3462 Normally, calls to @code{autoload} appear in PKG_ADD script files that\n\
3463 are evaluated when a directory is added to the Octave's load path. To\n\ 3463 are evaluated when a directory is added to the Octave's load path. To\n\
3464 avoid having to hardcode directory names in @var{file}, if @var{file}\n\ 3464 avoid having to hardcode directory names in @var{file}, if @var{file}\n\
3466 \n\ 3466 \n\
3467 @example\n\ 3467 @example\n\
3468 autoload (\"foo\", \"bar.oct\");\n\ 3468 autoload (\"foo\", \"bar.oct\");\n\
3469 @end example\n\ 3469 @end example\n\
3470 \n\ 3470 \n\
3471 will load the function @code{foo} from the file @code{bar.oct}. The above\n\ 3471 will load the function @code{foo} from the file @code{bar.oct}. The above\n\
3472 when @code{bar.oct} is not in the same directory or uses like\n\ 3472 when @code{bar.oct} is not in the same directory or uses like\n\
3473 \n\ 3473 \n\
3474 @example\n\ 3474 @example\n\
3475 autoload (\"foo\", file_in_loadpath (\"bar.oct\"))\n\ 3475 autoload (\"foo\", file_in_loadpath (\"bar.oct\"))\n\
3476 @end example\n\ 3476 @end example\n\