Handbook
Glossary
(command-line) ( -- args )
Factor handbook
»
The implementation
»
Command line arguments
Prev:
Command line switches for general usage
Next:
main-vocab-hook
Vocabulary
command-line
Inputs
None
Outputs
args
a sequence of strings
Word description
Outputs the raw command line parameters which were passed to the Factor VM on startup.
We recommend using the
vm-path
and
command-line
symbols instead.
Definition
USING:
alien.strings
kernel.private
sequences
;
IN:
command-line
:
(command-line)
( -- args )
OBJ-ARGS
special-object
sift
[
alien>native-string
]
map
;