| HALCON Reference Manual / File / Misc | Operators |
file_exists — Check whether file exists.
file_exists( : : FileName : FileExists)
The operator file_exists checks whether the indicated file already exists. If this is the case, the parameter FileExists is set to TRUE, otherwise to FALSE.
| FileName (input_control) | filename → (string) |
| Name of file to be checked. | |
| Default value: '/bin/cc' | |
| FileExists (output_control) | integer → (integer) |
| boolean number. | |
If the parameters are correct the operator file_exists returns the value 2 (H_MSG_TRUE). Otherwise, an exception is raised.
file_exists is reentrant and processed without parallelization.
Foundation
| HALCON Reference Manual / File / Misc | Operators |
| Version 9.0.2 | Copyright © 1996-2010 MVTec Software GmbH |