Size?

angerangel edited this page Jan 7, 2013 · 1 revision
Clone this wiki locally

USAGE

   SIZE? target

DESCRIPTION

Returns the size of a file.

SIZE? is a function value.

ARGUMENTS

  • target (file! url!)

#SOURCE

size?: make function! [  [
    "Returns the size of a file."
    target [file! url!]
][
    all [
        target: attempt [query target]
        target/size
    ]
] ]