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

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
Page 194:
CON (Constant Block) syntax should be the following:
Page 199:
New paragraphs below paragraph 1:
© Parallax, Inc. • Supplement/Errata for Propeller Manual v1.0 (#122-32000) • v1.1 12/11/2006 • Page 2 of 7
The above example declares a byte-aligned, byte-sized data table, called
consisting of the following ten values: 64, $AA, $AA, $AA, $AA, $AA, $AA, $AA,
$AA, 55. There were eight occurrences of $AA due to the [8] in the declaration
immediately after it.
CON
CON
CON
A more recommended way to achieve the previous example’s result is to include the
optional Offset field. The previous code could have been written as follows:
CON
Just as before,
following
before the next enumerated symbol. The effect of this is also like before,
RunFull
enumerated symbols are all set relative to each other. Changing the line’s starting value
causes them all to change relatively. For example, changing the
and
respectively.
RunVerbose
symbols to misbehave.
Symbol = Expression
#Expression (( ,┆
Symbol
'Declare modes of operation
#1, RunTest, RunVerbose[3], RunBrief, RunFull
RunVerbose
Symbol
Expression
Expression can include other constant symbols as long as they were defined
previously.
Offset
Symbol following this one. If Offset is not specified, the default offset of 1 is
applied.
something other than this Symbol’s value plus 1.
are 5 and 6, respectively. The advantage of this technique, however, is that the
〈[
RunVerbose
and
Offset
is an optional expression by which to adjust the enumeration value for the
RunTest
is the desired name for the constant.
In contrast, if the original example’s
RunBrief
to be 4 and 5, respectively, and
]〉
is any valid integer, or floating-point, constant algebraic expression.
Use Offset to influence the next Symbol’s enumerated value to
(( ,┆
)) Symbol
causes the current enumeration value (2) to be incremented by 3
(( ,┆
and
would be set to 5, possibly causing the code that relies on those
)) Symbol
RunVerbose
)) Symbol = Expression
〈[
Offset
〈[
]〉
Offset
are 1 and 2, respectively. The
(( ,┆
]〉
)) Symbol
RunBrief
#1
〈[
Offset
and
were changed to
]〉
#1
RunFull
, to
#4
MyData,
[3]
causes
to be 8 and 9,
RunBrief
immediately
#4
RunTest
, both
and

Related parts for 122-32000