Intel XENIX 286 Programmers Guide (86) - Tenox.tc
Intel XENIX 286 Programmers Guide (86) - Tenox.tc Intel XENIX 286 Programmers Guide (86) - Tenox.tc
XENIX Programming Programming Commands m4 (continued) deer eval index len substr translit include Returns the value of its argument decremented by 1. Evaluates its argument as an arithmetic expression, using 32-bit arithmetic. Operators include +, -, *, /, 96, A (exponentiation), bitwise &., I, A, and -; relationals; parentheses. Octal and hex numbers may be specified as in C. The second argu ment specifies the radix for the result; the default is 10. The third argument may be used to specify the minimum number of digits in the result. Returns the position in its first argument where the second argument begins (zero-origin), or -1 if the second argument does not occur. Returns the number of characters in its argument. Returns a substring of its first argument. The second argument is a zero-origin number selecting the first character; the third argu ment indicates the length of the substring. A missing third argument is taken to be large enough to extend to the end of the first string. Transliterates the characters in its first argument from the set given by the second argu ment to the set given by the third. No abbreviations are permitted. Returns the contents of the file named in the argument. sin elude Identical to include, except that it says nothing if the file is inaccessible. syscmd sysval Executes the XENIX command given in the first argument. No value is returned. Is the return code from the last call to syscmd. maketemp Fills in a string of XXXXX in its argu ment with the current process ID. m4exit Causes immediate exit from m4. Argument 1, if given, is the exit code; the default is 0. B-87
Programming Commands XENIX Programming m4 (continued) m4wrap Argu ment 1 will be pushed back at final EOF; for example, m4wrap(cleanup0'). errprint Prints its argument on the diagnostic output file. dumpdef Prints current names and definitions, for the named items, or for all if no arguments are given. traceon With no arguments, turns on tracing for all macros (including built-ins). Otherwise, turns on tracing for named macros. traceoff Turns off trace globally and for any macros specified. Macros specifically traced by traceon can be untraced only by specific calls to traceoff. B-88
- Page 302 and 303: XENIX Programming Programming Comma
- Page 304 and 305: XENIX Programming Programming Comma
- Page 306 and 307: XENIX Programming Programming Comma
- Page 308 and 309: XENIX Programming Programming Comma
- Page 310 and 311: XENIX Programming Programming Comma
- Page 312 and 313: XENIX Programming Programming Comma
- Page 314 and 315: XENIX Programm ing Programming Comm
- Page 316 and 317: XENIX Programming Programming Comma
- Page 318 and 319: XENIX Programming Programming Comma
- Page 320 and 321: XENIX Programming Programming Comma
- Page 322 and 323: XENIX Programming Programming Comma
- Page 324 and 325: XENIX Programming Programming Comma
- Page 326 and 327: XENIX Programming Programming Comma
- Page 328 and 329: XENIX Programming Programming Comma
- Page 330 and 331: XENIX Programming Programming Comma
- Page 332 and 333: XENIX Programming Programming Comma
- Page 334 and 335: XENIX Programming Programming Comma
- Page 336 and 337: XENIX Programming Programming Comma
- Page 338 and 339: XENIX Programming Programming Comma
- Page 340 and 341: XENIX Programming Programming Comma
- Page 342 and 343: XENIX Programming Programming Comma
- Page 344 and 345: XENIX Programming lex (continued) E
- Page 346 and 347: XENIX Programming Programming Comma
- Page 348 and 349: XENIX Programming Programming Comma
- Page 350 and 351: XENIX Programming Programming Comma
- Page 354 and 355: XENIX Programming Programming Comma
- Page 356 and 357: XENIX Programming Programming Comma
- Page 358 and 359: XENIX Programming Programming Comma
- Page 360 and 361: XENIX Programm ing Programming Comm
- Page 362 and 363: XENIX Programming Programming Comma
- Page 364 and 365: XENIX Programming prs (continued) :
- Page 366 and 367: XENIX Programming Programming Comma
- Page 368 and 369: XENIX Programming Programm ing Comm
- Page 370 and 371: XENIX Programming Programming Comma
- Page 372 and 373: XENIX Programming Programm ing Comm
- Page 374 and 375: XENIX Programming Programming Comma
- Page 376 and 377: XENIX Programming Programming Comma
- Page 378 and 379: XENIX Programming Programming Comma
- Page 380 and 381: XENIX Programming Programming Comma
- Page 382 and 383: XENIX Programming Programming Comma
- Page 384 and 385: XENIX Programming Programming Comma
- Page 386 and 387: XENIX Programming Programming Comma
- Page 388 and 389: XENIX Programming Programming Comma
- Page 390 and 391: Intel Publications Copies of the fo
- Page 392 and 393: INDEX Note: For a master index to t
- Page 394 and 395: XENIX Programming lint, B-80 thru B
- Page 396 and 397: XENIX Programming fscanf, A-12 get,
- Page 398 and 399: XENIX Programming maketemp, 11-8, B
- Page 400 and 401: XENIX Programming Segments, 2-19, 2
Programming Commands <strong>XENIX</strong> Programming<br />
m4 (continued)<br />
m4wrap<br />
Argu ment 1 will be pushed back at final EOF; for example, m4wrap(cleanup0').<br />
errprint<br />
Prints its argument on the diagnostic output file.<br />
dumpdef<br />
Prints current names and definitions, for the named items, or for all if no<br />
arguments are given.<br />
traceon<br />
With no arguments, turns on tracing for all macros (including built-ins).<br />
Otherwise, turns on tracing for named macros.<br />
traceoff<br />
Turns off trace globally and for any macros specified. Macros specifically<br />
traced by traceon can be untraced only by specific calls to traceoff.<br />
B-88