Introduction MTB Statements File System Compiler Applications Reference Guide Index

Language Structure Data Division I/O Format Division Procedure Division Mnemonics

Mnemonics

Fax driver mnemonics

Generic printer mnemonics

Mouse driver mnemonics

NLM mnemonics

Spooler mnemonic

Video mnemonics

Windows printer mnemonics

System driver (X00) mnemonics

Discussion:

Many MTB programming functions are accomplished via special format controls called mnemonics. For example, the following statement clears the video screen:

PRINT (CS)
In the above statement, PRINT sends data to the video screen (logical unit number 0 is implied), and the (CS) mnemonic clears the screen.

Some mnemonics are contained within the compiler code iteself, while many are contained in an external file and are added to the object code when an MTB program is compiled. The definitions for these latter mnemonics can be viewed via a Comet utility program (number 42 on the Comet Utility Program menu). The external mnemonics are stored in a file named MTB50, which allows for easier additions and updates to the MTB language.

Notes:

  • All mnemonics may be written in UPPER CASE, lower case, or MiXeD cAsE.

    Examples:

    Print (EASYSCAN)
    Print (EasyScan)
    Print (easyscan)
    

  • All mnemonics may contain imbedded blank spaces within the mnemonic itself.

    Examples:

    Print (EASY SCAN)
    Print (Easy Scan)
    Print (easy scan)