factor/extra/multiline/multiline-docs.factor

9 lines
490 B
Factor
Raw Normal View History

2007-12-11 01:39:32 -05:00
USING: help.markup help.syntax multiline ;
HELP: STRING:
{ $syntax "STRING: name\nfoo\n;" }
2007-12-11 01:54:16 -05:00
{ $description "Forms a multiline string literal, or 'here document' stored in the word called name. A semicolon is used to signify the end, and that semicolon must be on a line by itself, not preceeded or followed by any whitespace. The string will have newlines in between lines but not at the end, unless there is a blank line before the semicolon." } ;
2007-12-11 01:39:32 -05:00
IN: multiline
ABOUT: POSTPONE: STRING: