contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
operator   negate, -    
     

Syntax

  (- | negate) numeric-expression


Purpose

Changes the sign of the numeric-expression it is applied to. If the numeric-expression is positive, then the result is negative. If applied to a negative expression, the value is positive.

This does not change the absolute value of the numeric-expression.

The punctuational form (-) is encouraged over the keyword negate.

Usage examples:

  -432
  -("4987" + 315 * 12)
  - "3" > "04"
  negate "3" > "04"

       
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:11 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.