home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Bus / C / Commander Demo / Commander Demo.rsrc / TEXT_5002_Abs.txt < prev    next >
Encoding:
Text File  |  1993-09-07  |  411 b   |  13 lines

  1. ¬†Abs (number)   -> positive number
  2.                                                                                     Pg 27-1
  3.  
  4. Returns the absolute (unsigned, positive) value of number.
  5.  
  6. If number is negative, it is returned as positive.
  7. If number is positive, it is unchanged.
  8.  
  9. The following example returns the absolute value of -10.3, which is 10.3:
  10.  
  11.          vVector:=Abs(-10.3)      ` vVector gets 10.3
  12.  
  13.