|
Contents | Previous | Next | Subchapters |
| Syntax |
pathnewpath)
|
| See Also | which , autoexec |
path function
is a character row vector containing the search path.
If the argument newpath is present,
the search path is changed to this value.
path("c:\omwin; c:\omwin\lib; c:\omwin\function")
O-Matrix will set to the search path to the three directories
c:\omwin, c:\omwin\lib and c:\omwin\function.
If you then enter
include colsum.oms
O-Matrix will include the file c:\omwin\function\colsum.oms
if you continue by entering
path
O-Matrix will respond
c:\omwin; c:\omwin\lib; c:\omwin\function
If you continue by entering the clear command,
O-Matrix will reset the path as specified in the autoexec
file.
\..\ to specify
the parent directory.
If you enter
path( [cwd, "\..\; ", path] )
the parent directory of the current directory is included
in the search path.
mlpath.