blob: f544a82147c6dc491dfbc1738ddb6111b38daee1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
.help osfn Feb86 language
.ih
NAME
osfn -- convert an IRAF filename to a host system filename
.ih
USAGE
string = osfn (vfn)
.ih
PARAMETERS
.ls vfn
The IRAF virtual filename to be translated into a host filename.
.le
.ih
DESCRIPTION
\fIOsfn\fR is a string valued intrinsic function which takes an IRAF virtual
filename as input and returns the equivalent host system filename as output.
\fIOsfn\fR can only be called as a function.
.ih
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 \fItask\fR for more information on foreign tasks).
.nf
cl> task $vdir = "$directory" # VMS directory lister
cl> vdir /size osfn("bin$")
.fi
.ih
SEE ALSO
pathnames, task
.endhelp
|