27220 Parallax Inc, 27220 Datasheet - Page 24
![BOOK STAMPWORKS](/photos/8/99/89963/mfg_27220_sml.jpg)
27220
Manufacturer Part Number
27220
Description
BOOK STAMPWORKS
Manufacturer
Parallax Inc
Datasheet
1.27220.pdf
(230 pages)
Specifications of 27220
Accessory Type
Booklet
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
StampWorks
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Not applicable / Not applicable
- Current page: 24 of 230
- Download datasheet (3Mb)
When index is zero, the program will branch to Label_0, when index is one the
program will branch to Label_1 and so on.
Related to BRANCH is ON-GOTO, in fact, it can serve as direct replacement:
Programmers coming from a PC background are probably more familiar with ON-
GOTO, hence its inclusion in PBASIC 2.5.
LOOPING – RUNNING CODE AGAIN AND AGAIN
As demonstrated in the previous section, program loops can be created with
conditional and unconditional branching instructions.
including PBASIC 2.5, simplify looping with the DO-LOOP structure. With DO-LOOP
the branching label is no longer required. Here's how DO-LOOP is used to force
unconditional
As in the previous example, statements 1 - 3 will run in order, continuously.
The DO-LOOP construct can be made conditional by testing before or after the loop
statements:
In this example the loop statements will only run if and while the condition evaluates
as True.
ON index GOTO Label_0, Label_1, Label_2
DO
LOOP
DO WHILE (condition)
LOOP
DO
LOOP WHILE (condition)
statement 1
statement 2
statement 3
statement 1
statement 2
statement 3
statement 1
statement 2
statement 3
looping of number of code statements:
Modern variants of BASIC,
Related parts for 27220
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![30008](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
![70009](/photos/26/92/269208/70009-l_tmb.jpg)
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
![27404](/photos/26/91/269197/27404-l_tmb.jpg)
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
![70016](/photos/8/99/89966/mfg_70016_tmb.jpg)
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
![28135](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
![28023](/photos/9/30/93020/mfg_28023_tmb.jpg)
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
![30010](/photos/9/30/93025/mfg_30010_tmb.jpg)
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
![SX18AC/SO](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: