- A new command line switch /include path, includes a single file (or a named pipe or stdin, as usual) before the main script. Only one is supported. It is retained when reloading the script. When executing a compiled script without the /script switch, /include is not interpreted (it is passed to the compiled script). It might have uses such as:
- Including common settings or modified functionality for all scripts executed on a system (by adding /include into the registry).
- Integrating editors and other tools, such as enabling #Warn All, StdOut or hooking runtime errors with OnError.
- The ability to compile a script based directly on an exe, and use it to execute external scripts. Details as in this post, with the following changes:
- /execute has been renamed to /script.
- If present, RCDATA resource ID 2 is automatically #included before every script the exe loads, regardless of whether resource ID 1 is present. This can be used for purposes similar to /include, but embedded in the exe file itself.
- A fix for the behaviour of the tilde (~) prefix when applied to the prefix key in context-sensitive custom combinations. Details here.