The program name specified in command line usage, e.g. "Usage: rot13.factor [OPTIONS]".
Erlang has a macro called ?FILE to access the source code's own filename. Does Factor have something similar?
The program name specified in command line usage, e.g. "Usage: rot13.factor [OPTIONS]".
Erlang has a macro called ?FILE to access the source code's own filename. Does Factor have something similar?
Copyright © 2021 Jogjafile Inc.
                        
Factor's command-line vocabulary has a word
scriptwhich either returns the script name orfwhen Factor is in interpreted mode.Example: