Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## + Addition operator

> Adds two numeric expressions.

> #### Syntax

>     expression + expression

> ``expression``

> An expression whose value is numeric.

> Example

> In the following example, the addition operator (+) adds 100 to the value of the credit-limit field:

> r-addn.p
>     FOR EACH customer:
>       credit-limit = credit-limit + 100.
>     END.

> #### Note

> Adding two decimal expressions produces a decimal value. Adding two integer expressions produces an integer value. Adding an integer expression and a decimal expression produces a decimal value.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095