Rebol 编程/catch
外观
< Rebol 编程
CATCH block /name word
捕获来自块的抛出并返回其值。
CATCH 是一个原生值。
- block -- 要评估的块 (类型:块)
- /name -- 捕获命名抛出。
- word -- 一个或多个名称 (类型:字 块)
catch: native[ {Catches a throw from a block and returns its value.} block [block!] "Block to evaluate" /name "Catches a named throw." word [word! block!] "One or more names" ]