Community QBasic

Rebooting the QBasic we all know and love!


Project maintained by Cory Smith

SQR

Returns the square root of an expression.

Syntax

SQR(numeric_expression)

Comments

numeric_expression is any non-negative numeric expression.

Example

FOR i = 0 TO 100
  PRINT i; SQR(i)
NEXT i