File: in_mac.html

package info (click to toggle)
sdf 2.001%2B1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,140 kB
  • ctags: 2,440
  • sloc: perl: 18,543; sh: 31; makefile: 29
file content (503 lines) | stat: -rw-r--r-- 8,847 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
<!doctype html public "-//W30//DTD W3 HTML 2.0//EN">

<HTML>

<!-- This file was generated using SDF 2.001 by
     Ian Clatworthy (ianc@mincom.com). SDF is freely
     available from http://www.mincom.com/mtr/sdf. -->

<HEAD>
<TITLE>SDF 2.001: SDF Reference: use Macro</TITLE>
</HEAD>
<BODY BGCOLOR="ffffff">

<DIV CLASS="header">
<P><IMG SRC="../sdflogo.gif" ALIGN="Right"></P>
<DIV CLASS="navigate">
<P ALIGN="Center"><A HREF="re_sdf.html">Contents</A> | <A HREF="re_sdf.html">Parent Topic</A> | <A HREF="fverbati.html">Previous Topic</A> | <A HREF="mblock.html">Next Topic</A> <BR><A HREF="../index.html">Home</A> | <A HREF="../catalog.html">Catalog</A></P>
</DIV>
<BR CLEAR="Right">
</DIV>
<DIV CLASS="main">
<H1>6. Macros</H1>
<HR>
<H2><A NAME="Overview">6.1. Overview</A></H2>
<P>The macros available are summarised below.</P>
<TABLE CLASS="columns" BORDER>
<TR CLASS="heading">
<TD>
<STRONG>Name</STRONG>
</TD>
<TD>
<STRONG>Purpose</STRONG>
</TD>
</TR>
<TR CLASS="group">
<TD>
<STRONG>General:</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mbuild_t.html">build_title</A>
</TD>
<TD>
build a title page
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mblock.html">block</A>
</TD>
<TD>
begin a block of text
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mendbloc.html">endblock</A>
</TD>
<TD>
end a block of text
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/minclude.html">include</A>
</TD>
<TD>
include another file
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mexecute.html">execute</A>
</TD>
<TD>
include output from a command
</TD>
</TR>
<TR CLASS="group">
<TD>
<STRONG>Variables:</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/minit.html">init</A>
</TD>
<TD>
initialise variables (before loading configuration files)
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mdefine.html">define</A>
</TD>
<TD>
set a variable
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mdefault.html">default</A>
</TD>
<TD>
set a variable (if not already set)
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mundef.html">undef</A>
</TD>
<TD>
clear a variable
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mexport.html">export</A>
</TD>
<TD>
export a variable to the format driver (and/or mark it for later exporting)
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mrestric.html">restrict</A>
</TD>
<TD>
declare a restricted family of variables
</TD>
</TR>
<TR CLASS="group">
<TD>
<STRONG>Figures:</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mimport.html">import</A>
</TD>
<TD>
import an external object (e.g. figure)
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mclear.html">clear</A>
</TD>
<TD>
reset text wrapping around a figure
</TD>
</TR>
<TR CLASS="group">
<TD>
<STRONG>Libraries:</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/minherit.html">inherit</A>
</TD>
<TD>
inherit entities from a library
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/muse.html">use</A>
</TD>
<TD>
load a library module
</TD>
</TR>
<TR CLASS="group">
<TD>
<STRONG>Macros:</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mmacro.html">macro</A>
</TD>
<TD>
begin a macro definition
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mendmacr.html">endmacro</A>
</TD>
<TD>
end a macro definition
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/minsert.html">insert</A>
</TD>
<TD>
call a macro
</TD>
</TR>
<TR CLASS="group">
<TD>
<STRONG>Classes:</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mclass.html">class</A>
</TD>
<TD>
define a class of objects
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mcatalog.html">catalog</A>
</TD>
<TD>
build a catalog from objects already loaded
</TD>
</TR>
<TR CLASS="group">
<TD>
<STRONG>Conditional text:</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mif.html">if</A>
</TD>
<TD>
begin conditional text
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/melsif.html">elsif</A>
</TD>
<TD>
begin a conditional section
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/melse.html">else</A>
</TD>
<TD>
begin alternative section
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mendif.html">endif</A>
</TD>
<TD>
end conditional text
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/melseif.html">elseif</A>
</TD>
<TD>
same as elsif
</TD>
</TR>
<TR CLASS="group">
<TD>
<STRONG>Event processing:</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mon.html">on</A>
</TD>
<TD>
specify processing for an event
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/moff.html">off</A>
</TD>
<TD>
disable processing previously specified
</TD>
</TR>
<TR CLASS="group">
<TD>
<STRONG>File processing:</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/moutput.html">output</A>
</TD>
<TD>
dynamically change the output file used
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mscript.html">script</A>
</TD>
<TD>
execute a line of <A HREF="http://www.perl.com/perl/index.html">Perl</A>
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mmessage.html">message</A>
</TD>
<TD>
output a message during execution
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mline.html">line</A>
</TD>
<TD>
change message parameters
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mslide_d.html">slide_down</A>
</TD>
<TD>
decrease heading levels (e.g. H2 -&gt; H3)
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mslide_u.html">slide_up</A>
</TD>
<TD>
increase heading levels (e.g. H2 -&gt; H1)
</TD>
</TR>
<TR CLASS="group">
<TD>
<STRONG>Extraction:</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mgetdoc.html">getdoc</A>
</TD>
<TD>
extract documentation embedded in source code
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mgetcode.html">getcode</A>
</TD>
<TD>
extract source code (i.e. non-documentation) from a file
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mgetcli.html">getcli</A>
</TD>
<TD>
extract command-line interface information
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mperlapi.html">perlapi</A>
</TD>
<TD>
extract API information from a <A HREF="http://www.perl.com/perl/index.html">Perl</A> library
</TD>
</TR>
<TR CLASS="group">
<TD>
<STRONG>Miscellaneous:</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mjumps.html">jumps</A>
</TD>
<TD>
generates lines of jumps
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/msubsect.html">subsections</A>
</TD>
<TD>
specify the subsections for a topic
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mcontinu.html">continued</A>
</TD>
<TD>
continue a heading from a previous page
</TD>
</TR>
<TR>
<TD>
<A HREF="../ref/mend_top.html">end_topic</A>
</TD>
<TD>
mark the end of a topic
</TD>
</TR>
</TABLE>

<P>Further details on these are provided below.</P>
<P><A HREF="mblock.html">block Macro</A></P>
<P><A HREF="mbuild_t.html">build_title Macro</A></P>
<P><A HREF="mcatalog.html">catalog Macro</A></P>
<P><A HREF="mclass.html">class Macro</A></P>
<P><A HREF="mclear.html">clear Macro</A></P>
<P><A HREF="mcontinu.html">continued Macro</A></P>
<P><A HREF="mdefault.html">default Macro</A></P>
<P><A HREF="mdefine.html">define Macro</A></P>
<P><A HREF="melse.html">else Macro</A></P>
<P><A HREF="melseif.html">elseif Macro</A></P>
<P><A HREF="melsif.html">elsif Macro</A></P>
<P><A HREF="mend_top.html">end_topic Macro</A></P>
<P><A HREF="mendbloc.html">endblock Macro</A></P>
<P><A HREF="mendif.html">endif Macro</A></P>
<P><A HREF="mendmacr.html">endmacro Macro</A></P>
<P><A HREF="mexecute.html">execute Macro</A></P>
<P><A HREF="mexport.html">export Macro</A></P>
<P><A HREF="mgetcli.html">getcli Macro</A></P>
<P><A HREF="mgetcode.html">getcode Macro</A></P>
<P><A HREF="mgetdoc.html">getdoc Macro</A></P>
<P><A HREF="mif.html">if Macro</A></P>
<P><A HREF="mimport.html">import Macro</A></P>
<P><A HREF="minclude.html">include Macro</A></P>
<P><A HREF="minherit.html">inherit Macro</A></P>
<P><A HREF="minit.html">init Macro</A></P>
<P><A HREF="minsert.html">insert Macro</A></P>
<P><A HREF="mjumps.html">jumps Macro</A></P>
<P><A HREF="mline.html">line Macro</A></P>
<P><A HREF="mmacro.html">macro Macro</A></P>
<P><A HREF="mmessage.html">message Macro</A></P>
<P><A HREF="moff.html">off Macro</A></P>
<P><A HREF="mon.html">on Macro</A></P>
<P><A HREF="moutput.html">output Macro</A></P>
<P><A HREF="mperlapi.html">perlapi Macro</A></P>
<P><A HREF="mrestric.html">restrict Macro</A></P>
<P><A HREF="mscript.html">script Macro</A></P>
<P><A HREF="mslide_d.html">slide_down Macro</A></P>
<P><A HREF="mslide_u.html">slide_up Macro</A></P>
<P><A HREF="msubsect.html">subsections Macro</A></P>
<P><A HREF="mundef.html">undef Macro</A></P>
<P><A HREF="muse.html">use Macro</A></P>
</DIV>
<DIV CLASS="footer">
<DIV CLASS="navigate">
<P ALIGN="Center"><A HREF="re_sdf.html">Contents</A> | <A HREF="re_sdf.html">Parent Topic</A> | <A HREF="fverbati.html">Previous Topic</A> | <A HREF="mblock.html">Next Topic</A> <BR><A HREF="../index.html">Home</A> | <A HREF="../catalog.html">Catalog</A></P>
</DIV>
</DIV>

</BODY>
</HTML>