From Wiki96
Revision as of 13:12, 5 April 2023 by Kelbaz (talk | contribs) (Added apps category)
Jump to: navigation, search
The JSH program

JSH (aka JS Shell) is a Windows 96 command line interface read–eval–print loop (REPL) program able to evaluate JavaScript inside a WRT module environment.

Specificities

Unlike inside WRT modules, it is not possible to use top-level await in the JSH REPL. JSH also features commands, it is possible to see all of them by typing .help in the shell. JSH will format all the outputs with syntax highlighting.

Commands

JSH has several commands that can be used to do specific actions. Here are them:

Command Arguments Description
.clear Clears the screen
.exit Quits the REPL shell
.load path Loads the specified file into the current shell
.help Shows the help message