define-protocol ( protocol wordlist -- )
Factor handbook » The language » Objects » Delegation

Prev:PROTOCOL:
Next:SLOT-PROTOCOL:


Vocabulary
delegate

Inputs
protocola word for the new protocol
wordlista sequence of words


Outputs
None

Word description
Defines a symbol as a protocol.

Notes
Usually, PROTOCOL: should be used instead. This is only for runtime use.

See also
PROTOCOL:

Definition