[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SQR                        Find Square of Number                     pp 141

 Syntax:  Sqr (NumVar) ;

 Type:    Integer or Real

 Form:    Function

 Purpose:  Returns the square of NumVar.

 Notes:    The returned type is the same is the argument type.


 ----------------------------------------------------------------------------


 Usage:
       VAR
          IntVar  : Integer        ;
          RealVar : Real           ;

       BEGIN
          IntVar  := Sqr (IntVar)  ;
          RealVar := Sqr (RealVar) ;
       END.

See Also: Sqrt
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson