122-32000 Parallax Inc, 122-32000 Datasheet - Page 316
122-32000
Manufacturer Part Number
122-32000
Description
MANUAL PROPELLER
Manufacturer
Parallax Inc
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
- Current page: 316 of 438
- Download datasheet (5Mb)
PUB SomeMethod
Notice that
GetString
preceding it. This is because our fictitious
variable. If we had said
been passed to
Str
elements. Lastly, we use
equal to the character
Variable Declarations (Syntax 2)
A variation on Syntax 1 allows for comma delimited variables of the same size. The
following is, similar to the above example, but we declare two words,
VAR
Scope of Variables
Symbolic variables defined in Variable Blocks are global to the object in which they are
defined but not outside of that object. This means that these variables can be accessed
directly from anywhere within the object but their name will not conflict with symbols
defined in other parent or child objects.
Public and Private methods have the ability to declare their own local variables. See
page 287, and
Global variables are not accessible outside of an object unless the address of that variable is
passed into, or back to, another object through a method call.
Page 316 · Propeller Manual v1.0
Code := 60000
LargeNumber := Code * 250
GetString(@Str)
if Str[0] == "A"
byte Str[10]
word Code, Index
long LargeNumber
to be passed to
<more code here>
– Spin Language Reference
method’s parameter list looks different; it has an
Code
PRI
GetString
and
, page 286.
LargeNumber
"A"
GetString
. By using the Symbol Address operator,
. Remember, the first element of an array is always zero (0).
GetString(Str)
Str[0]
instead;
in the condition of an
are used directly by expressions. The
, then the first byte of
GetString
GetString
can use that address to write to
method needs to write back to the
IF
statement to see if the first byte is
@
, the Symbol Address operator,
Str
@
, we caused the address of
, element 0, would have
Code
Str
and
reference in the
Index
.
Str
PUB
Str
’s
,
Related parts for 122-32000
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
MANUAL FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
GUIDE STUDENT PROCESS CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
GUIDE STUDENT SMART SENSORS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
LEAD WIRES FLYING CABLE III/IV
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
BOARD ADAPTER AND FLY LEADS
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
PLATFORM CABLE USB II
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
KIT STARTER COOLRUNNER-II BUNDLE
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: