Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Rebol Programming/reflect

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

USAGE: REFLECT value field DESCRIPTION: Returns definition-related details about a value. REFLECT is a function value. ARGUMENTS value -- (Type: any-type) field -- Such as: spec body words values title etc. (Type: word) (SPECIAL ATTRIBUTES) catch SOURCE CODE reflect: func [ "Returns definition-related details about a value." [catch] value [any-type!] field [word!] "Such as: spec body words values title etc." ][throw-on-error [ switch/default field [ spec [spec-of :value] body [body-of :value] words [words-of :value] values [values-of :value] types [types-of :value] title [title-of :value] ] [ cause-error 'script 'invalid-arg field ] ]]