BASIC stamp manual v2.2
Using the BASIC Stamp Editor
Page 38 • BASIC Stamp Syntax and Reference Manual 2.2 • www.parallax.com
Syntax Element Text Color Character Case
Command Blue Upper Case
Comment Green No Change
Constant -Binary Default No Change
Constant - Decimal Default No Change
Constant - Hexadecimal Default No Change
Constant – Predefined Purple Upper case
Constant – String Red No Change
Operators Default Upper case
Declaration Default Upper Case
Directive, Conditional Compile Gray(Bold) Upper case
Directive, Editor Teal (Bold) Upper case
Directive, Target module Teal (Bold) Upper case
Input/Output Formatter Navy Upper case
Selection White on Navy No change
Search match Lime on black No change
Variable modifier Default Upper case
Variable – predefined Purple Upper case
Variable, type Default Capitalize
Table 3.1: Syntax Highlighting
Defaults for the PBASIC Scheme.
NOTE: The default edit pane has
a white background with black
characters.
Automatic line numbers can be enabled or disabled via the “Show Line
Numbers” checkbox on the Preferences Editor Appearance tab. Line
numbers, when enabled, appear in a gutter (the gray area on the left of the
edit pane as shown in Figure 3.5). When printing, the line numbers may
be included if desired.
Figure 3.5: Automatic Line
Numbering appears in the gutter to
the left of the edit pane. Yellow
Bookmarks are visible on lines 5
and 9.
Bookmarks can be enabled or disabled via the “Show Bookmarks”
checkbox on the Preferences Editor Appearance tab. The bookmarks
appear in the gutter as small numbered icons, providing a way to mark
lines or sections of code that you need to navigate to quickly or repeatedly.
You can define up to nine bookmarks by clicking on the gutter where you
want one placed, or by pressing Ctrl+B when the cursor is on the desired
line. You can instantly navigate to any defined bookmark by pressing
Ctrl+(#) (where # can be the 1 through 9 keys) or by selecting Go To
AUTOMATIC LINE NUMBERING.
B
OOKMARKS.