[REBOL] stylize
From: ammoncooke:y:ahoo at: 1-Sep-2001 1:22
hi,
having trouble getting styles to work, it must be a simple problem. Here's my code:
mn-stl: stylize [mn-tm: text white bold return]
proj: layout/offset [
styles mn-stl
mn-tm "New" [nw-proj]
mn-tm "Load" [ld-proj]
mn-tm "Save" [sv-proj]
]0x0
; this code returns:
** Script Error: mn-stl needs a value
** Where: do-boot
** Near: mn-stl: stylize [mn-tm: text white bold return]
proj: layout/offset
>>
Why? My guess is, "because Carl forgot to add the most important function of all:
>>? user-freindly
USAGE:
USER-FREINDLY user /strong
DESCRIPTION:
Causes REBOL to be friendly to user
ARGUMENTS:
user -- Current user
Refinements:
/strong -- Very forgiving of code errors
Just a guess" ;D
Ammon