home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC User 2001 August
/
APC_Aug2001_CD2.iso
/
features
/
devtools
/
files
/
lb202win.exe
/
LB202W.EXE
/
SQRT.BAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
BASIC Source File
|
2000-12-06
|
163 b
|
9 lines
'how to get the square root of a number
print "the square root of "; 2; " is "; sqrt(2)
end
function sqrt( a )
sqrt = a ^ 0.5
end function