IRAF help page for package language, program osfn

from NOAO osfn -- convert an IRAF filename to a host system filenameUSAGEPARAMETERSDESCRIPTIONEXAMPLESSEE ALSO

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

SEE ALSO, pathnames, task,


This page automatically generated from the iraf .hlp file. If you would like your local iraf package .hlp files converted into HTML please contact Dave Mills at NOAO.

dmills@noao.edu