Rebol 程式設計/size?
外觀
SIZE? target
返回檔案或 URL 內容的大小。
SIZE? 是一個函式值。
- 目標 -- (型別:檔案 url)
- 捕獲
size?: func [
"Returns the size of a file or URL's contents."
[catch]
target [file! url!]
/local info
][
info: throw-on-error [info? target]
either none? info [none] [info/size]
]