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 #57 background imageLoading...
Page #57 background image
53
Example:
PRINT RND (19) press ENTER
You will get a number between 1 and 19. RND (0) will give you a number between 0
and 1.
Note:X cannot be negative.
Important Note: From now on, the ENTER key sign will be deleted for simplicity.
Remember to press the ENTER key after each line of entry.
STRING FUNCTIONS
We can also use functions to act on strings. Take a look at the following:
LEN
This function computes the length of the string argument, which must be in brackets. So
if you type PRINT LEN (“JOHN”) the computer will return the result 4. This is telling
you that there are 4 characters in the string “JOHN”. Blank spaces have the value of
characters. Thus if you put in spaces “J O H N”, it comes out as 7 characters.
STR$
The STR$ function changes a number argument into a string. Take a look at the following
example and see how it works.
Example:
A$=STR$(73)
This is the same as saying A$=“73”.
Here is a sample program.
Type the next example:
10 A$=STR$(7*3)
20 B$=A$+“BIG”
30 PRINT B$
RUN
21BIG

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