Rebol 编程/源代码
外观
< Rebol 编程
SOURCE 'word
打印单词的源代码。
SOURCE 是一个函数值。
- word -- (类型: word)
source: func [ "Prints the source code for a word." 'word [word!] ][ prin join word ": " if not value? word [print "undefined" exit] either any [native? get word op? get word action? get word] [ print ["native" mold third get word] ] [print mold get word] ]