To Use An Existing Macro As A Template For A New Macro - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Chapter 6: Using Macros and Command Files
Using Macros
When you exit the editor, save the macro under the default name. If you save it
under a different name, the macro may be lost.
See Also
See "To use an existing macro as a template for a new macro" if you want to
use an existing macro as the basis for a new macro.
Example
To create an macro called "test_macro", select Breakpoints→Edit/Call Macro
and enter "test_macro" in the Selected Macro area. Now press < Return> or
click on the Edit button. Edit the macro in the editor window. If you are using
the vi editor, exit using the "Z Z " command. The new macro should now appear
at the end of the Defined Macros list.
To use an existing macro as a template for a new
macro
1 Display the Macro Operations dialog box.
2 In the dialog box, select the macro you wish to use as a template.
3 Click on the Edit button.
4 In the editor, change the name of the macro.
Now you may edit the parameters and body of the macro.
When you exit the editor, the macro will be saved under the new name. The
original macro will not be changed.
192

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents