3.162278
3.872984
4.472136
5
Syntax
Remarks
Example
SQR
Function
Returns the square root of a positive numeric
expression.
SQR ( numexp )
SQR is calculated in single precision, unless
"ID" is supplied in the GWBASIC command
line.
An "Illegal function call" error results if the
argument is negative.
10 FOR X=10 TO 25 STEP 5
20 PRINT X, SQR(X]
30 NEXT X
RUN
10
15
20
25
Ok
7-309