Silverfrost Logo About Us | Contact Us
 

FEXISTS@

Platform

x64, Win32

Purpose

To search for a file with a given path name or wildcard.

Syntax

LOGICAL (KIND=3) FUNCTION FEXISTS@(PATH, ERROR_CODE)
CHARACTER (LEN=*) PATH
INTEGER (KIND=3) ERROR_CODE

Return value

FEXISTS@ returns a logical value which is .TRUE. if the name supplied in PATH is that of a file which does exist, or is a wildcard which matches one file only. It returns .FALSE. if such a file does not exist. ERROR_CODE returns zero if the function returns .TRUE. otherwise ERROR_CODE returns a non-zero system error code.

 

 

Copyright © 1999-2017 Silverfrost Limited