Chapter Five:

Working with DADiSP Command Files


DADiSP normally accepts commands typed on the Worksheet command line or invoked through menus. DADiSP can also read instructions from a disk file, called a command file. Like a DOS batch file or a UNIX script, DADiSP command files are useful for automating repetitive Worksheet tasks or lengthy command sequences. You can also use command files to create custom application routines, demonstrations, or tutorials.


The DADiSP Trial is an example of a demonstration/tutorial command file. Print a copy of the demo.dsp file located in the main DADiSP directory, and follow the command file instructions as you watch the demo. This exercise will help you to understand the simplicity and usefulness of DADiSP’s command file language.


This chapter provides a complete overview of DADiSP command files including:


  1. Creating Command Files

  2. Loading Command Files

  3. Command File Keystrokes and Functions

  4. User Interaction with Command Files

  5. Command File Examples