<<Cheats >>

Home Page

Projects...
PC Controller Box
Joystick Switch Box
c128D Refurb

Programs...
Byte Simulator
Cheat 'O Matic
GEOS

Collections...
3D Models
Book Collection

Information...
My BASIC Notes
Web Links

eMail Me

Note: You must add uk to the end of the address, it's to help prevent spam.

My BASIC Notes

Basic2 Commands
Disk Drives
ASCII and CHR$ Codes
PEEK's and POKE's
RAM Memory Map
ROM Memory Map
Screen Display
Sprite

SQR()
Abbreviation: S <SHIFT+Q>

TYPE: Floating-Point Function
FORMAT: SQR (<numeric>)

Action: SQR gives you the value of the SQuare Root of the <numeric> argument. The value of the argument must not be negative, or the BASIC error message ?ILLEGAL QUANTITY will happen.

EXAMPLE of SQR Function:

FOR J = 2 TO 5: PRINT J*S, SQR(J*5): NEXT

10 3.16227766
15 3.87298335
20 4.47213595
25 5

READY


Commodore Cheetah made by Allen Monks, started in the year 2000.