EasyManuals Logo

Radio Shack 26-1145 Preliminary User's Manual

Radio Shack 26-1145
30 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 #16 background imageLoading...
Page #16 background image
P. 16
READ and DATA
Up to now we've looked at two ways to enter numbers into a
program. One is by assigning a value to a letter (A = 5).
Another is with the INPUT statement. Another method is with
DATA.
Try this :
10 DATA 1,2,3,4,5
20 READ A,B,C,D,E
30 PRINT A ;B ;C ; D ;E
RUN this program.
NOTE: DATA statements can have values assigned with commas
separating them; same with READ statements.
DATA lines are always read from left to right by READ statements.
It does not matter where DATA statements come in the sequence of
a program. Move line 10 to line 25. Move it to line 10000. Works
the same in any case.
TAB Function
The TAB function is just like the Tab on a typewriter. It tells
the Computer to start printing at a specified number of spaces
in from the left. Try this:
10 PRINT TAB(12),"@@@@"
20 PRINT TAB(32),"####
RUN it.
@@@@

Other manuals for Radio Shack 26-1145

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Radio Shack 26-1145 and is the answer not in the manual?

Radio Shack 26-1145 Specifications

General IconGeneral
BrandRadio Shack
Model26-1145
CategoryDesktop
LanguageEnglish

Related product manuals