REBOL Programming/get-style

< REBOL Programming

USAGE:

GET-STYLE name /styles ss 

DESCRIPTION:

Get the style by its name.

GET-STYLE is a function value.

ARGUMENTS

REFINEMENTS

SOURCE CODE

get-style: func [
    "Get the style by its name." 
    name [word!] 
    /styles ss "Stylesheet"
][
    if none? styles [ss: vid-styles] 
    select ss name
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.