You are here: start » ppl » functions » fileinf

FILEINF(file:string,option:integer) :MULTITYPE

FILEINF(file:string,option:integer) :MULTITYPE

Returns a piece of information (specified by option) about the file file

Valid values for "options"

     1 = Return TRUE if file exists
     2 = Return file date stamp
     3 = Return file time stamp
     4 = Return file size
     5 = Return file attributes
           01h = Read Only
           02h = Hidden
           04h = System
           20h = Archive
     6 = Return file drive
     7 = Return file path
     8 = Return file base name
     9 = Return file extension

Return value type is depending on the info requested. It may be BOOLEAN, DATE, INTEGER, STRING and TIME


See also: Delete, Copy, Append, Exist, Rename

ppl/functions/fileinf.txt · Last modified: 2024/03/27 14:11
CC Attribution 4.0 International Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution 4.0 International