EasyManuals Logo

Tandy 1000 Basic Reference Manual

Default Icon
411 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 #186 background imageLoading...
Page #186 background image
Chapter
10
I
BASIC
Keywords
Sample
Programs
This program shows how you can use INPUT$ to have an opera-
tor input a password for accessing a protected file. By using IN-
PUT$, you can type in the password without anyone seeing it
on
the video display. To see the full file specification, run the pro-
gram. When the BASIC prompt returns, type PRINT
F$.
110 LINE INPUT "TYPE IN THE FILENAME.EXT";
F$
120 PRINT "TYPE IN THE PASSWORD
--
MUST TYPE
8
CHARACTERS
:
"
;
130 P$
=
INPUT$<8)
140 F$
=
F$
+
'I."
+
P$
150 PRINT "YOUR FILENAME IS";
FS
In the program below, Line
100
opens a sequential input disk
file (which we assume has been previously created). Line
200
re-
trieves
a
string of
70
characters from the file and stores them in
T$. Line
300
closes
the
file.
100 OPEN
"I",
2,
"test.dat"
200 T$
=
INPUT$<70,2)
300
CLOSE
184

Table of Contents

Other manuals for Tandy 1000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 and is the answer not in the manual?

Tandy 1000 Specifications

General IconGeneral
ProcessorIntel 8088
Processor Speed4.77 MHz
RAM128 KB (expandable to 640 KB)
Operating SystemMS-DOS 2.11
ManufacturerTandy Corporation
Release Year1984
StorageSingle or double 5.25" floppy disk drive (360 KB), optional hard drive
SoundTandy 3-voice sound
PortsParallel, Serial
GraphicsCGA (Color Graphics Adapter)
Graphics Modes320x200, 640x200

Related product manuals