Rebol 编程/info?
外观
< Rebol 编程
INFO? target
返回有关文件或 URL 的信息。
INFO? 是一个函数值。
- 目标 -- (类型:文件 URL)
- 捕捉
info?: func [ "Returns information about a file or url." [catch] target [file! url!] ][ throw-on-error [ target: make port! target query target ] either none? target/status [ none ] [ make object! [ size: target/size date: target/date type: target/status ] ] ]