Skip to content

Latest commit

 

History

History
52 lines (45 loc) · 1.94 KB

manual.adoc

File metadata and controls

52 lines (45 loc) · 1.94 KB

Engine BASIC Reference Manual

1. How to Use this Manual

1.1. Syntax Conventions

  • KEYWORDS: Items in capital letters indicate BASIC keywords. Keywords are a required part of the statement syntax, unless they are enclosed in brackets. You must spell keywords correctly.

  • placeholders: Items in lowercase are placeholders for information you must supply in the statement, such as a filename.

  • [optional item]: Items inside square brackets do not need to be used in the statement.

  • <choice1|choice2>: Angle brackets and a vertical bar indicate a choice between two or more items. You must use one of the items in the statement unless the angle brackets are enclosed in square brackets, e.g. [<optional1|optional2>].

  • item, item, …​ means several of the preceding items can be used in a single-line statement.

Note
The uppercase and lowercase syntax notation conventions are used to help you read the syntax rules for a statement, and are not capitalization rules you must type in. Neither keywords nor variable and procedure names are case-sensitive.

1.2. Terminology

  • Video memory refers to all random-access memory residing on the video controller chip.

  • Pixel memory refers to the parts of video memory that represent pixels, including the visible screen and the off-screen area that can be accessed by graphics commands and functions.

  • A range is a way to specify a set of numbers by giving a start and/or an end. The following forms are allowed:

    num

    A single number.

    -num

    All numbers up to and including num

    num-

    All numbers from num.

    num1-num2

    All numbers between num1 and num2, inclusive.

2. Command and Function Reference