util/
vis_src_root.pro
includes main-level programRoutines
result = vis_src_root()
Returns the directory name (with a trailing slash) of the location of the source code for the routine that called this function.
vis_src_root_test
Routine details
top vis_src_root
result = vis_src_root()
Returns the directory name (with a trailing slash) of the location of the source code for the routine that called this function. Returns ./ or .\ (depending on platform) if called from the main-level.
Return value
string
Examples
The location of this file can be determined as in the main-level example program and test routine found at the end of this file. To run it, type:
IDL> .run vis_src_root
pro vis_src_root_test
compile_opt strictarr
print, vis_src_root()
end
Other attributes
- Requires:
IDL 5.5
top vis_src_root_test
vis_src_root_test
File attributes
Modification date: | Mon Nov 29 18:32:44 2010 |
Lines: | 63 |
Docformat: | rst rst |