Env

From MiniScript Wiki
Revision as of 17:17, 14 January 2021 by JoeStrout (talk | contribs) (Created page with "In Mini Micro, <c>env</c> refers to a map of special values that affect the Mini Micro environment. It contains at least the following keys: {| class="wikitable" |- ! Ke...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In Mini Micro, env refers to a map of special values that affect the Mini Micro environment. It contains at least the following keys:

Key Meaning
bootOpts a complete copy of the data in the bootOpts.grfon file
curdir current working directory (same as pwd)
cmdLine command line command that was used to launch Mini Micro (where applicable)
cmdLineArgs command line arguments (as a list) used when Mini Micro was launched (where applicable)
importPaths list of directories searched for import modules
prompt string printed as the command-line prompt
morePrompt string printed as the prompt when more input is needed