Rebol Programming/clear-face

USAGE: edit

CLEAR-FACE face /no-show 

DESCRIPTION: edit

Clears the primary value of a face.

CLEAR-FACE is a function value.

ARGUMENTS edit

  • face -- (Type: any)

REFINEMENTS edit

  • /no-show -- Do not show change yet

SOURCE CODE edit

clear-face: func [
    "Clears the primary value of a face." 
    face 
    /no-show "Do not show change yet" 
    /local access
][
    if all [
        access: get in face 'access 
        in access 'clear-face*
    ] [
        access/clear-face* face
    ] 
    if not no-show [show face] 
    face
]