Rebol Programming/set-para

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

USAGE:[edit | edit source]

SET-PARA aface 'word val 

DESCRIPTION:[edit | edit source]


SET-PARA is a function value.

ARGUMENTS[edit | edit source]

  • aface -- (Type: any)
  • word -- (Type: any)
  • val -- (Type: any)

SOURCE CODE[edit | edit source]

set-para: func [aface 'word val][
    if none? aface/para [aface/para: vid-face/para] 
    if not flag-face? aface para [aface/para: make aface/para [] flag-face aface para] 
    set in aface/para word val