| Introduction | MTB Statements | File System | Compiler | Applications | Reference Guide | Index |
| Overview | What's New | Publication Information |
MoreThanBasic is a high-level programming language that runs within the Comet operating environment. As implied by its name, MoreThanBasic (MTB) offers much more than other versions of BASIC, including:
The MTB programmer has a wide choice of available interfaces, including:
MTB was designed with efficiency in mind, and was therefore designed as a compiler language. A good portion of the object code created by the MTB compiler results in calls to Comet's dynamically shared runtime library. This means extremely small, more efficient object code. This also means that Comet's advanced file management and formatting capabilities are available to all MTB programs.
MTB source programs are divided into three sections:
Statements in this division define the data variables to be used in the program, including specifications for data type, size, and other attributes. One exceptional feature is MTB's ability to declare data as "common" to be used in multiple program overlays.
The division includes statements, control codes, and data definitions for all input/output formatting. There are numerous controls for video screen formatting, featuring block input of multiple data fields and local editing of data. Likewise, there are many control codes for printers and other I/O devices.
The Procedure Division includes statements using familiar BASIC syntax in most cases, plus a myriad of additional statements designed just for Comet application purposes.