What are scripts

The Stony Brook environment supports a script system for automatedexecution of commands from within the environment.  Scripts can be used to:

Script Module Types

Scripts are known to the Stony Brook environment as script moduletypes.  As such, scripts can be created with the New Module option of the FileMenu, scripts can be added to a Project with the Add Module option of the File Menu,and scripts can be executed with the Run selected option of the Build Menu.

A syntax error encountered while running a script, results inthe script being edited with the editor caret at the error location.  Executionerrors are treated as syntax errors.  For example, an execution error occurswhen a module which does not exist is selected by the Select built-in procedure.

Script execution can be stopped by canceling a build while inprogress.