[REBOL] Re: Stlyise'ing a Style
From: mike:myers:cybarite at: 10-Dec-2000 20:06
The order of the values passed to stylize/styles seem to be important.
STYLIZE specs /master /styles styls
If you evaluate via the shell the two lines
large-text: stylize [ ltext: text font [size: 30] center shadow 4x4]
large-red-text: stylize/styles large-text [ rtext: ltext 200.0.0]
you will see that large-red-text is only [rtext: ltext 200.0.0]
instead of a style sheet like large-text is:
[ltext
make object! [
type: 'face
offset: 0x0
size: none
span: none
pane: none
...
If you re-order the values to be:
large-red-text: stylize/styles [ rtext: ltext 200.0.0] large-text
you get the answer you seek.