Introduction

Language Structure

IB Statements

File System

Comet 32 Runtime

Index

Mnemonics

Discussion:

Many Internet Basic 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 Internet Basic 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 Internet Basic 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)
    

Mnemonics

Video mnemonics
Generic printer mnemonics
Windows printer mnemonics
NLM mnemonics
Spooler mnemonic
System driver (X00) mnemonics

Legacy mnemonics

Fax driver mnemonics
Mouse driver mnemonics