EasyManua.ls Logo

Apple IIe - Page 118

Apple IIe
320 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...
118
Apple
lie
Users
Handbook
After
the
INPUT
statement
has
been executed,
the
user may
enter
the
desired data at
the
keyboard. That data
is
assigned
to
the
variable(s) listed
in
the
INPUT statement. The
number
of
data
items
entered
must
equal
the
number
of
variables listed. Also,
the
type
of
data
entered
must agree
with
the
type
specified
in
variable. The data items must be
delimited
by commas
when
input.
Applesoft
Integer
LEFT$
Example
10 INPUT "ENTER A NUMBER"; A
20
PRINT "THE NUMBER IS"; A
30
END
]RUN
[Ret]
ENTER
A NUMBER
4.5
THE
NUMBER
is
4.5
10 INPUT "ENTER A NUMBER", A
20
PRINT "THE NUMBER IS"; A
30
END
> RUN [Ret]
ENTER
A NUMBER? i
THE
NUMBER
IS
4
Applesoft
o
Integer
The
LEFT$
function
returns
the
number
of
characters specified
in
the
second expression
of
the
argument
to
the
leftmost
of
the
string specified
in
the
first
part
of
the
argument.
Configuration
LEFT$
(a$,x)
a$
is
a
string
constant searched by
the
function
.
xis
the
number
of
characters
to
be
returned.

Other manuals for Apple IIe

Related product manuals