Placing Comments In Command Files; Continuing Command File Lines; Specifying A Search Of Several Command File Directories; To Create A Command File By Logging Commands - HP MC68040 User Manual

Emulator, graphical user interface
Table of Contents

Advertisement

Chapter 3: Using the Emulator/Analyzer Interface
Creating and Executing Command Files

Placing Comments in Command Files

As with any source file, comments in command files can help to explain the
operation of the command file, and record creation and modification information.
You can place comments in a command file either by using a text editor or by
entering the comment as a "command" in the interface command line while logging
commands. A special character, the pound sign (#), causes the interface to ignore
comments in command files, and also allows you to log comments to a command
file from the command line. A comment may appear on a line by itself, or it may
follow a command on a line. Commands cannot appear on a line after the comment
character because they will be interpreted as part of the comment.

Continuing Command File Lines

You can continue command file lines across several physical text file lines. This is
done by using a continuation character.
The continuation character is the backslash (\) character. Placing a backslash at the
end of the line just before the line feed causes the following line to be concatenated
with the current line. Multiple lines can be concatenated by ending all but the last
line with a backslash. The concatenated lines will be treated as a single command
line. Note that if you end the last line of a command file with a backslash, the
command will appear in the interface command line, but will not be executed.

Specifying a Search of Several Command File Directories

HP64KPATH is a special shell variable you can set to specify alternative search
paths for command files. HP64KPATH works much like the UNIX PATH in that
you can specify several directories, separated by colons (:), to be searched.
The remainder of this section lists the tasks associated with creating and using
command files.

To create a command file by logging commands

1 Select File→Log→Record... and use the dialog box to select a command file
name. If using the command line, enter the command:
88

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ec040Lc04064783a64783b

Table of Contents