Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

324 SQR square root Purpose This statement is used to calculate the square root of a number. Examples 10 X=SQR(Y) 300 X=(-B+SQR(B^2-4*A*C))/(2*A) Description A function returning the square root of its argument. An attempt to calculate the square root of a negative number will produce the error message -ve root which is error number 21. Syntax = SQR ( ) Associated keywords None