EasyManua.ls Logo

Apple IIe - Page 84

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...
84
Apple lie Users
Handbook
evaluates
as
true.
The
second
expression (-5)
is
non-zero,
so
it
is
also
evaluated
as
true
.
According
to
the
AND
truth
table
,
if
both
expressions
evaluate
as
true,
then
the
whole
expression
is
true.
Applesoft
and
Integer
BASIC
represent
true
as 1,
so
a 1
is
printed.
Applesoft
ASC
Integer
The
ASC
function
returns
the
ASCII
code
for
the
first
character
in
its
argument.
Configuration
ASC(argument)
argument
can
be
any
string
variable
or
constant
.
Example
]A$
="A"
]PRINT ASC(A$), ASC("DEF")
65 68
In
the
preceding
example,
the
character
in
the
string
A$ was
A.
A's ASCII
equivalent
is
65. In
the
second
string,
the
first
character
D will
be
used
as
the
argument.
A
value
of
68
is
returned
for
the
ASCII
value
of
D.
I
/
ii
Applesoft
ATN
o
Integer
The
ATN
function
is
a
trigonometric
function
that
returns
the
arctangent
of
its
argument.

Other manuals for Apple IIe

Related product manuals