osfn -- convert an IRAF filename to a host system filename
string = osfn (vfn)
- The IRAF virtual filename to be translated into a host filename.
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.
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$")