INFO?

REBOL Dictionary 2.0


Summary:

Returns information about a file or url.

Usage:

info? target

Arguments:

target - The target argument. (must be: file url)

Description:

The information is returned within an object that has SIZE, DATE, and TYPE words. These can be accessed in the same manner as other objects.


    info: info? %file.txt
    print info/size
    3682


    print info/date
    25-Jan-2003/17:28:54-8:00

Related:

dir? - Returns TRUE if a file or URL is a directory.
exists? - Determines if a file or URL exists.
modified? - Returns the last modified date of a file or URL.
size? - Returns the size of a file or URL's contents.


<Back | Index | Next>

Copyright 2003 REBOL Technologies