Propeller Manual

Table Of Contents
Constants (pre-defined) – Spin Language Reference
Page 94 · Propeller Manual v1.1
POSX and NEGX
POSX and NEGX are typically used for comparison purposes or as a flag for a specific event:
if Z > NEGX
<code to execute if Z hasn't reached smallest negative>
—or—
PUB FindListItem(Item) : Index
Index := NEGX 'Default to "not found" response
<code to find Item in list>
if <item found>
Index := <items index>
PI
PI can be used for floating-point calculations, either floating-point constants or floating-point
variable values using the FloatMath and FloatString object.
RCFAST through PLL16X
RCFAST through PLL16X are Clock Mode Setting constants. They are explained in further
detail in the
_CLKMODE section beginning on page 68.
Note that they are enumerated constants and are not equivalent to the corresponding
CLK
register value. See CLK Register on page for information regarding how each constant28
relates to the
CLK register bits.