osfn: Return the host system equivalent of an IRAF filename
Package: language
Usage
string = osfn (vfn)
Parameters
- vfn
- The IRAF virtual filename to be translated into a host filename.
Description
Osfn is a string valued intrinsic function which takes an IRAF virtual filename as input and returns the equivalent host system filename as output. Osfn can only be called as a function.
Examples
1. Print the host equivalent of the vfn "hlib$login.cl".
cl> = osfn ("hlib$login.cl")
2. Compute a host filename for use as an argument to a foreign task (see help task for more information on foreign tasks).
cl> task $vdir = "$directory" # VMS directory lister
cl> vdir /size osfn("bin$")
See also
pathnames, task