]> gitweb.factorcode.org Git - factor.git/blob - core/words/constant/constant-docs.factor
docs: change $subsection to $subsections
[factor.git] / core / words / constant / constant-docs.factor
1 USING: help.markup help.syntax words.constant ;
2 IN: words.constant
3
4 ARTICLE: "words.constant" "Constants"
5 "There is a syntax for defining words which push literals on the stack."
6 $nl
7 "Define a new word that pushes a literal on the stack:"
8 { $subsections POSTPONE: CONSTANT: }
9 "Define an constant at run-time:"
10 { $subsections define-constant } ;
11
12 ABOUT: "words.constant"