STScI Logo

osfn language


NAME · USAGE · PARAMETERS · DESCRIPTION · EXAMPLES · SEE_ALSO

NAME

osfn -- convert an IRAF filename to a host system filename

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


Search Form · STSDAS