Subject: | |
From: | |
Reply To: | |
Date: | Thu, 20 Dec 2001 23:19:25 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Larry Barnes asked:
>If I have 2 files, 1 perm and 1 temp, using the same name and I run a
>program with a stdin=tempfile. Does the HPe3000 look for a temp file
>first and if it doesn't find it, it looks for a permanent file.
>
>What is the lookup order? I believe it's temp then perm.
The FOPEN() and HPFOPEN() intrinsics allow the caller to specify the domain
of the file to be opened (perm, temp or new). I am fairly certain (but
haven't looked in the manual to confirm) that the default for a file open
causes the file system to first check for a temporary file with the name
and if there is none then to check for a permanant file. Of course, a
:FILE command can specify the domain which will override the arguments to
the intrinsic.
-- Jeff Woods
[log in to unmask] (Quintessential School Systems)
[log in to unmask] (portable & permanent)
[log in to unmask] (deprecated)
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|