EasyManua.ls Logo

Tandy 1000 - Page 290

Default Icon
337 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Basic
User-defined keys are
17-20.
Use the following
syntax
to define your
own user keys:
KEY
number, CHR$(key)
+
CHR$(scan)
Key
is
one of the following:
&H40
[CAPS)
lock key
&H20
CNUM
LOCK1
key
&H08
0
key
&H04
0
key
&H02
Left
(SHIFT)
key
&H01
Right key
Scan
is the scan code for
a
physical key on the keyboard.
KILL pathname
Kills (deletes)
pathname
from disk.
KILL
"fi
1e.bas"
K
I
L L
"A
:
\
R E PORT
\
d
a
t
a''
LEFT$(string,number)
Returns the specified number of characters from the left portion of
string.
Number
must be in the range
1
to
255.
P
R
I
NT
LE
F
T$ ("BATT LE
S
H
I
P
S"
,
6
1
LEN(string)
Returns the number of characters in
string.
Blanks are counted.
PRINT LEN("D0G")
+
LEN ("TERRIER")
X
=
LEN(SENTENCE$)
LET variable
=
expression
Assigns the value of
expression
to
variable.
BASIC
does not require
assignment statements to begin with
LET.
LET
A$
=
"A
ROSE
IS
A
ROSE"
LET
B1
=
1.23
Tandy
1000
39

Table of Contents

Other manuals for Tandy 1000

Related product manuals