Key to Document Conventions

This book uses the following document conventions:

Examples Description

STDIO.H, PATH, C:\BIN, LIB, DX Uppercase letters indicate filenames, segment names, registers, and terms used at the DOS-command level.
_cdecl, int, printf, alloc_text, #undef, DosCreateThread Boldface letters indicate C keywords, operators, language-specific characters, and library functions, as well as OS/2 functions.
switch( Msg ) This font is used for examples, user input, program output, and error messages in text.
if (expression) statement1 Italic letters indicate placeholders for information you must supply, such as a filename. Italics are also occasionally used for emphasis in the text.
[[option]] Items inside double square brackets are optional.
#pragma pack {1|2} Braces and a vertical bar indicate a choice among two or more items. You must choose one of these items unless double square brackets surround the braces.
LIB options [[file...]] Three dots following an item indicate that more items having the same form may appear.
while() { . . . } A column of three dots means that part of the example program was intentionally omitted.
CTRL+ENTER Small capital letters are used for the names of keys on the keyboard. When you see a plus sign (+) between two key names, you should hold down the first key while pressing the second. The carriage-return key, sometimes appearing as a bent arrow on the keyboard, is called ENTER.
Enhanced Graphics Adapter (EGA) The first time an acronym is used, it is often spelled out.
“argument” Quotation marks enclose a new term the first time it is defined in text.