[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ABS                        Return Absolute Value                     pp 139

 Syntax:  Abs (NumVar) ;

 Type:    Real, Integer

 Form:    Function

 Purpose: ABS returns the absolute value of NumVar, as the same type.
          The argument NumVar can be of type REAL or INTEGER.

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


 Usage:
       VAR
          NumVar := Abs (NumVar)            ;

       BEGIN
          WriteLn ('Value = ',Abs (NumVar)) ;
       END.

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