122-32000 Parallax Inc, 122-32000 Datasheet - Page 70

MANUAL PROPELLER

122-32000

Manufacturer Part Number
122-32000
Description
MANUAL PROPELLER
Manufacturer
Parallax Inc
Datasheets

Specifications of 122-32000

Accessory Type
Manual
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
Propeller Education (PE) Kit
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Single Lines
For Spin code, the Propeller Tool uses a set of fixed tab positions that you can change via the
Edit → Preferences menu. Each Spin block (
Fixed Tab settings.
The Tab key moves the cursor to the next tab position (to the right) and Shift + Tab moves
the cursor to the previous tab position (to the left). Additionally, the Backspace key moves to
the previous tab position depending on the text around it; more on this later.
The default tab settings for the
characters near the start of the line to support common code indentions. For example, Figure
2-25, below, shows a public method,
each two characters apart.
Using the Tab key, this code could have quickly been entered with the following sequence on
the keyboard:
Note that the Enter key automatically aligns the cursor to the level of indention currently in
use; this means the Tab key needs to be pressed only once to indent to the next level.
If there are characters to the right of the cursor when the Tab key is pressed, they are shifted
to the right as well, as in Figure 2-26.
Page 70 · Propeller Manual v1.0
Type: “PUB FSqr” <Enter>
Type: <Tab> “repeat 31” <Enter>
Type: <Tab> “result |= root” <Enter>, etc.
PUB
and
FSqr
PRI
, containing lines at various levels of indention,
CON
blocks include tab positions for every two
,
VAR
,
OBJ
Figure 2-25: Fixed Tab
Default Setting for
PUB and PRI Blocks
,
PUB
,
PRI
, and
DAT
) has its own

Related parts for 122-32000