EasyManua.ls Logo

Laser 128 - Sqr

Laser 128
255 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
FUNCTIONS
4.14
SQR
Purpose:
To
calculate
the
square
root
of
a
specified
value.
Format:
SQR
(x)
Comments: A
negative
value
for
x
will
cause
an
error.
Example:
10
FOR
I = 1
TO
6
20
PRINT
2
/\
(2 * I),
SQR
(2
/\
(2 * I))
] 30
NEXT
]
RUN
4 2
16 4
64 8
256 16
1024 32
4096 64
]
11-119

Table of Contents