filedate
BAP Online Manuals : Library
Reference : Library by Name
: filedate
Previous: file_str
Next: filepos
BAP Online Manuals : Library Reference : Library by Name : filedate
Previous: file_str
Next: filepos
Previous: file_str
Next: filepos
6.2.51. filedate
determines creation date of file
SYNOPSIS
INCLUDE 'iolib.h' filedate(Date,"tmp.dat")
SYNTAX
filedate(Date,FileName) (o,i)
ARGUMENTS
integer(Date) (o) creation date of the file
string(FileName)(i) name of the file to be examined
DESCRIPTION
The creation date of the file name FileName returned.
EXAMPLE
filedate(file1,X1), filedate(file2,X2), X1 > X2, write("file one created more recently"),nl.
ERRORS
A runtime error if the file is not found.
LAYERS
prolog-process, client-server, object
RELATED PREDICATES
BAP Online Manuals : Library Reference : Library by Name : filedate
Previous: file_str
Next: filepos