DIR


The DIR function returns information about a file.

 

COMMAND SYNTAX

DIR(filename)

The filename is a string argument representing the path and filename of a file. This function returns a dynamic array with four attributes.

Attribute Description
1 File size in Bytes
2 Last modified date (in internal format)
3 Last modified time (in internal format)
4 'D' if the filename is a directory, blank if the filename is a file

 

EXAMPLE

F = DIR(".")

PRINT F

ā€œ0{am}0{am}0{am}Dā€: is the output of this program.

 


jBC