Returns the square root of a number
Implemented by: dartmouth2, dartmouth4, ansimin, hptsb, decbasic, Altair, Applesoft, TI994, CBM, Atari, msatari, level2, colormc, colorext, zx81, spectrum, BBC, GWBASIC, MSX, bwbasic, bw32, ABasiC, QBasic, VBDOS, FreeBASIC, Gambas, ugBASIC, minibasicjs, EndBASIC
With variations:
Also written as:
10 PRINT SQR(9)
This is one of the original functions implemented by Dartmouth BASIC, of the ones named with a three-letter abbreviation which allowed their name to be stored in a single 20-bit machine word of the GE-235 computer.1).