Last modified on 27 October 2012, at 22:15

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.

ARGUMENTSEdit

  • face -- (Type: any)

REFINEMENTSEdit

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

SOURCE CODEEdit

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
]