Introduction

Language Structure

IB Statements

File System

Comet 32 Runtime

Index

Creating Internet Basic Source Programs

Internet Basic source programs are created in one of two ways:

The Internet Basic compiler recognizes Comet editor files or text files as source files, so feel free to choose the method you prefer.

The CED program creates a Comet keyed file with a record size of 94 bytes and key size of 7 bytes. The data records contains Internet Basic statements (up to 80 bytes) followed by an exclamation mark and 7 bytes representing the editor line number. The associated key contains the editor line number as well.

Source programs created outside of the Comet environment are created as "text" files. The compiler reads up to 132 characters per source line when compiling a text file.

Note: If you create your Internet Basic source programs as text files, you must register them in the Comet directory file (QDIR) before you compile the program. Refer to the DIRMAINT utility program for additional information.