P"
Factor handbook » Input and output » Pathnames » Pathname presentations

Prev:<pathname> ( string -- pathname )


Vocabulary
syntax

Syntax
P" pathname"


Inputs
None

Outputs
None

Word description
Reads from the input string until the next occurrence of ", creates a new pathname, and appends it to the parse tree. Pathnames presented in the UI are clickable, which opens them in a text editor configured with Editor integration.

Examples
USING: accessors io io.files ; P" foo.txt" string>> print
foo.txt


Definition