| Introduction | MTB Statements | File System | Compiler | Applications | Reference Guide | Index |
Dynamic Driver Libraries are created using a simple programming language. There are 3 programming statements in the language:
| Statement | Result |
|---|---|
| prints a string of characters or digits | |
| PRINTHEX | converts a numeric argument from decimal to its hex equivalent and prints the hex string |
| CTLTODRIVER | writes a control code to a specialized driver (currently this is only used for the fax driver) |
In addition, the mnemonic names are included within square brackets as follows:
[Mnemonic=argument-1,argument-2,argument-3,...argument-32]
where: argument-1 may be written as ARG1 or ARG1$, etc.
Comment lines may be included within a mnemonic definition source file. These lines must begin with a semicolon (;).
Each DDL source file should begin with a DEVICE command indicating the name of the driver. (Technically, this is an optional command, but we recommend that you include it in your driver source code.) The syntax for this statement is:
[DEVICE="name of driver table"]
For example: [DEVICE="FAX DRIVER MNEMONICS"]