Using A File Starting With A ?Tacl Directive - HP Guardian User Manual

Hide thumbs Also See for Guardian:
Table of Contents

Advertisement

Defining Function Keys and Writing Macros
Using Your Macros
After you load your macro definitions into TACL memory, you can use your macros.
For example, when you type F, the TACL program executes the FILEINFO command:
12> F
$GERT.FERN
Code
HERST
101
CANDLE
101
Passing a Value to a Macro
Unlike for function keys, to pass an argument to a macro, enter the macro name and then
its arguments.
For example, to pass the specific name of a file to your FILEINFO macro:
11> F CANDLE
$GERT.STEIN
Code
CANDLE
101 16230 7-OCT-92 13:31:36

Using a File Starting With a ?TACL Directive

You can also write a TACL macro by entering the ?TACL MACRO directive and the
commands you want the macro to perform into an EDIT file (file code 101).
To create a macro that performs the WHO command.
15> TEDIT MYSTAT
?TACL MACRO
WHO
To execute the macro, enter:
16> RUN MYSTAT
Files that contain a ?TACL MACRO directive cannot be loaded into memory, as library
files are. You can store only one macro definition in a file that starts with the ?TACL
MACRO directive. Instead, use the ?SECTION directive to define macros in files that
you plan to load.
EOF
Last Modification
12458 02-APR-92 10:55:02
16230 07-OCT-92 13:31:36
EOF Last Modification
Guardian User's Guide —425266-001
Using a File Starting With a ?TACL Directive
Owner
RWEP
PExt SExt
8,56
"NNNN"
6,66
"OOOO"
Owner
RWEP
PExt SExt
6,66
"OOOO"
5- 11
12
12
2
2
2
2

Advertisement

Table of Contents
loading

Table of Contents