home *** CD-ROM | disk | FTP | other *** search
- ********************
-
- FUNCTION Filetime
-
- PARAMETERS _a
-
- IF EMPTY(PCOUNT())
- RETURN("")
- ENDIF
-
- * _a is the name of the file
-
- _a = UPPER(LTRIM(TRIM(_a)))
- IF !FILE(_a)
- RETURN("")
- ENDIF
-
- * _b is the array for file names
- * _c is the array for file sizes
- * _d is the array for file dates
- * _e is the array for file times
-
- PRIVATE _b[1], _c[1], _d[1], _e[1]
- ADIR(_a, _b, _c, _d, _e)
- RELEASE _a, _b, _c, _d
- RETURN(_e[1])
-
-