•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-FileSQR(x)

x: aexp

Produces the square root of the numerical expression x. If the expression x is
negative, an error message is invoked.

Examples:

    x=9
    y=SQR(x)
    PRINT y,SQR(4*4)

--> The numbers 3 and 4 appear on the screen.

    PRINT SQR(SQR(16))
    PRINT SQR(-2)

--> The number 2 appears, followed by an error message.