Intel AEDIT-86 Life Jacket User Manual


 
Table
of
Contents
AEDIT -86 User's
Guide
PAGE
5.3 Macro Modes ................................................................................................................
5-5
5.4 EXECUTE Command ..................................................................................................
5-5
5.4.1
Description ......................................... .......... ..............................................................
5-6
5.5 Macros and AEDIT-86 Variables ................................................................................
5-6
5.6 Single-Character Macros .............................................. ........... .....................................
5-6
5.7 Macro Files ..... ..........
...
..... ..... ....... ...... ..... ........... ..... ..... ........ ...... ..........
...
..... .................
5-7
5.8 Macro Execution after a Failure ..................................................................................
5-8
5.9 Screen Display during Macro Execution .....................................................................
5-9
5.9.1
Text .............................................................................................................................
5-9
5.9.2 Message ...................................................................................................................... 5-10
5.9.3 Prompt ........................................................................................................................ 5-10
5.9.4 Windo\\' ....................................................................................................................... 5-10
5.10
Macro Examples
..
... ........................................... ................
...
..... ..........
...
................ .... 5-10
5.10.1
Example)
................................................................................................................. 5-10
5.10.2
Example 2 ................................................................................................................. 5-1]
5.10.3 Example 3 .................................................................................................................
5-11
5.10.4 Example 4 ................................................................................................................. 5-12
CHAPTER 6
AEDIT-86 VARIABLES
6.1
Global Variables ............................................................................................................
6-]
6.1.1
Global Numeric Variables .........................................................................................
6-1
6.1.2 Global String Variables ............................................................................................. 6-2
Read-Write String Variables .....................................................................................
6-2
Read-Only String Variables .......................................................................................
6-2
Using String Variables ............................................................................................... 6-2
6.2 Local Variables .............................................................................................................
6-3
6.3 Usage and Interpretation of Global Variables
in
Macros ...........................................
6-5
6.4 Summary of AEDIT-86 Variables ...............................................................................
6-5
6.4.1
Read-Only Variables ..................................................................................................
6-5
6.4.2 Local Variables ..........................................................................................................
6-6
CHAPTER 7
CALC COMMAND
7.1
Introduction ...................................................................................................................
7-1
7.2 Syntax Diagrams for CALC Statement .......................................................................
7-1
7.3
Numeric Constants .......................................................................................................
7-3
7.4 String Constants ............................................................................................................
7-3
7.5 Operators .......................................................................................................................
7-4
7.5.1
Shift/Rotate Operators ..............................................................................................
7-4
7.6 Expression Evaluation ...................................................................................................
7-5
7.7 Examples .......................................................................................................................
7-5
7.7.1
Example 1 ...................................................................................................................
7-5
7.7.2 Example 2 ...................................................................................................................
7-5
7.8 Errors ............................................................................ .................................................
7-5
CHAPTER 8
ADVANCED AEDIT-86
USAGE
8.1
USEFUL.MAC .............................................................................................................
8-1
8.2 Tips for Writing Macros ...............................................................................................
8-2
8.2.1
Send Text
to
the Message Line .................................................................................
8-2
8.2.2 Simulate
"IF
cond
THEN
RETURN" (to the caller) .............................................
8-4
8.2.3 Simulate
"IF
cond
THEN
statemenf' ......................................................................
8-4
8.2.4 Simulate
"IF
cond THEN statement1 ELSE statement2" ......................................
8-4
8.2.5 Simulate "Advance_While
cond'
.............................................................................
8-4
8.3 Examples ................................................................. ........ ........ ......................................
8-5
8.3.1
Example 1 ...................................................................................................................
8-5
8.3.2 Example 2 ............................................................................. ......................................
8-6
8.3.3 Example 3 ............................................................................. ......................................
8-6
x