Inspect Manual
High-Level Inspect Commands
Inspect Manual—429164-006
6-10
ADD PROGRAM
The command string that the function key will execute
key-name
specifies the function key for which you want to provide a definition. Valid function
keys include F1 through F16 and shifted F1 (SF1) through shifted F16 (SF16).
command-string
specifies the replacement string to associate with the given function key. The
replacement string is a group of zero or more characters enclosed in either quotes
(") or apostrophes ('). To include a quote in a quote-delimited replacement string,
use a pair of quotes. Likewise, to include an apostrophe in an apostrophe-
delimited replacement string, use a pair of apostrophes.
Usage Consideration
A function key's replacement string cannot contain the XC command or any of the Fix
commands (FA, FB, FC and FK).
Related Commands
DELETE KEY on page 6-30
FK on page 6-90
LIST KEY on page 6-136
SET ECHO on page 6-174
ADD PROGRAM
The ADD PROGRAM command adds a process or save file to the program list for the
current Inspect session. This command is used to place a process under Inspect’s
ADD KEY key-name [=] command-string
key-name: one of
F1 F2 F3 F4 F5 F6 F7 F8
F9 F10 F11 F12 F13 F14 F15 F16
SF1 SF2 SF3 SF4 SF5 SF6 SF7 SF8
SF9 SF10 SF11 SF12 SF13 SF14 SF15 SF16
command-string: one of
" [ character ]... "
' [ character ]... '