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

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
Quick Review: Ex 4 & 5
Spin language:
o Methods:
o Parameter Lists
o
o Arrays:
o
o The Symbol Address operator (
REPEAT
COGNEW
following it. See Symbol Address ‘
command:
command:
To call methods in the same object, use method where method is the
method’s name, see
Methods automatically exit, returning to their caller, when they run
out of code to execute.
When an application’s first method exits, the application and the cog
it is running in terminate.
Methods declare parameters in the form: method(param1, param2,
etc.) , see
Parameters are long-sized, local variables that are accessible from
within the method only.
Infinite loop:
Finite loop:
desired number of loops to iterate through, see
Arrays are defined with the form symbol [count] where symbol is the
array’s symbolic name and count is the number of elements in the
array, see
Activates another cog (processor) to run either Spin or Propeller
Assembly code, see
Allows for true parallel processing.
Requires an address to reserve run-time stack space for Spin code.
They can be modified within the method but any
corresponding variables used in the call are left unaffected.
PUB
VAR
repeat
repeat
on page 287.
on page 315.
PUB
COGNEW
expression where expression evaluates to the
on page 287.
@
@
on page 189.
) returns the address of the variable
’ on page 278.
Propeller Manual v1.0 · Page 109
REPEAT
on page 293.

Related parts for 122-32000