Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ r.v — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

READ -- Reads and executes a file of DEBUG commands.


FORMAT

  Read pathname


REQUIRED ARGUMENTS

  pathname       The pathname of a file containing DEBUG commands.


OPTIONAL ARGUMENTS

  None.


DESCRIPTION

  A READ command is similar to a Shell script.  When you issue the READ command,
  DEBUG reads the specified file and executes each line in the file as a DEBUG
  command.  DEBUG echoes each line of the input file as it reads it.

  Note that when you issue DEBUG commands from a command file, DEBUG defers pro-
  cessing of GO and STEP commands until all other commands in the file have been
  processed.  For example, consider the following sample command file:

     SET `max_var_len = 66
     BREAKPOINT 262
     GO
     EXAMINE try

  When DEBUG processes this file, it defers the execution of the third command,
  GO, until last.  The EXAMINE command, therefore, will execute before the GO
  command.

  Command files can themselves contain READ commands.

  For full details, see Chapter 3 of the DOMAIN Language Level Debugger
  Reference manual.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026