Herror ::file_exists (
    const HTuple &FileName
)

Check whether file exists.

The operator ::file_exists checks whether the indicated file already exists. If this is the case, the operator ::file_exists returns TRUE, otherwise FALSE.


Parameters

FileName (input_control)
filename -> HTuple.char *
Name of file to be checked.
Default value: '/bin/cc'


Result

The operator ::file_exists returns the value H_MSG_TRUE (file exists) or H_MSG_FALSE (file does not exist).


Possible Successors

::open_file


Alternatives

::open_file


Module

Basic operators



Copyright © 1996-2002 MVTec Software GmbH