Handbook
Glossary
word-prop ( word name -- value )
Factor handbook
»
The language
»
Words
»
Word properties
Next:
set-word-prop ( word value name -- )
Vocabulary
words
Inputs
word
a
word
name
a property name
Outputs
value
a property value
Word description
Retrieves a word property. Word property names are conventionally strings.
Definition
USING:
accessors
assocs
kernel
;
IN:
words
:
word-prop
( word name -- value )
swap
props>>
at
;