EasyManua.ls Logo

Apple IIe - Page 85

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...
Apple
BASIC Reference
Guide
85
Configuration
ATN(argument)
The argument can
be
a
numeric
expression
or
numeric
constant
in
radians.
The
value
returned
will
be
the
primary
angle
TT
TT
(-
2
< angle <
2)
Example
10
Pl=
ATN(1) * 4
20
PRINT Pl, ATN(TAN(.2))
]RUN
[Ret]
3.14159266 .2
In
the
preceding
example,
the
arctangent
of
1
returns
the
value
TTl4.
Multiplying
this value
by
4
returns
the
value
indicated.
In
the
second
part
of
the
PRINT statement,
the
argument
.2
is
returned.
Since
the
ATN
formula
is
the
inverse
of
the
TAN
function,
the
value
returned
was
the
original
argument.
AUTO
D
Applesoft
Integer
The
AUTO
command
generates a
new
line
number
every
time
the
user presses
Return
.
Configuration
AUTO
line
number
[,increment]
Both
linenumber
and increment must
be
integers. The /ine-
numberwill
be
the
first
line
number
generated. The increment
is
the
amount
to
be
added
to
the
current
line
number
to
generate
the
next
line
number.
If
the
increment
is
not
included
,
the
increment
will
be
set
to
10 by
default.

Other manuals for Apple IIe

Related product manuals