411 REFERENCE · Wikibooks
Rebol Programming/get-style
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
USAGE:
GET-STYLE name /styles ss
DESCRIPTION:
Get the style by its name.
GET-STYLE is a function value.
ARGUMENTS
name -- (Type: word)
REFINEMENTS
/styles
ss -- Stylesheet (Type: any)
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
]