Handbook
Glossary
doc-line ( n document -- string )
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Editor gadgets
»
Documents
Prev:
clear-doc ( document -- )
Next:
doc-lines ( from to document -- slice )
Vocabulary
documents
Inputs
n
a non-negative integer
document
a
document
Outputs
string
a
string
Word description
Outputs the
n
th line of the document.
Errors
Throws an error if
n
is out of bounds.
Definition
USING:
accessors
sequences
;
IN:
documents
:
doc-line
( n document -- string )
value>>
nth
;