Rebol Programming/get-face

From Wikibooks, open books for an open world
< Rebol Programming
Jump to navigation Jump to search

USAGE:[edit | edit source]

GET-FACE face 

DESCRIPTION:[edit | edit source]

Returns the primary value of a face.

GET-FACE is a function value.

ARGUMENTS[edit | edit source]

  • face -- (Type: any)

SOURCE CODE[edit | edit source]

get-face: func [
    "Returns the primary value of a face." 
    face 
    /local access
][
    if all [
        access: get in face 'access 
        in access 'get-face*
    ] [
        access/get-face* face
    ]
]