EasyManuals Logo
Home>VTech>Toy>Power Pad Precomputer Power Pad Plus

VTech Power Pad Precomputer Power Pad Plus User Manual

VTech Power Pad Precomputer Power Pad Plus
88 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #54 background imageLoading...
Page #54 background image
50
SOUND
This is a command to generate a sound note.
SOUND consists of two functions: frequency and duration
frequency The frequency of the sound in hertz; a value in the range
0 < frequency parameter < 256
duration The number of the system clock ticks so the sound lasts; a value in the range
0 < duration parameter < 256
FOR ... TO ... STEP ... NEXT
Line# FOR variable = initial value TO final value STEP stepsize (optional)
Line#
Line#
Line#
Line# NEXT variable
The FOR ... NEXT statement repeats a task a set number of times without having to
rewrite it. All statements between the FOR and NEXT command are repeated based on
the initial value, the final value and the stepsize. If the STEP portion of the command
is not used, it is assumed to be 1.
Example:
60 FOR ITEMS=1 TO 20
70 INPUT PRICE
80 SUM=PRICE+SUM
90 NEXT ITEMS
RUN
FUNCTION
A function is a mathematical procedure which when applied to a certain value will give
a new value. We call the value in brackets ( ), the argument, and the new value, the
result.
Example:
SQR is a square root function.

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the VTech Power Pad Precomputer Power Pad Plus and is the answer not in the manual?

VTech Power Pad Precomputer Power Pad Plus Specifications

General IconGeneral
BrandVTech
ModelPower Pad Precomputer Power Pad Plus
CategoryToy
LanguageEnglish

Related product manuals