Macro Scheduler 15

Add

Add>Value,Number

 

Adds Number to Value.  Deprecated by Let for numeric calculations.

 

Interpreted as Value = Value + Number

 

Value must be a variable containing either a numeric or date value.  Number can be either a literal number or a variable containing a numeric value.

 

For date values this function will add the number of days, represented in Number to the given date value.

 

See also: Sub

 

Example

 

Let>Counter=5

Add>Counter,2

 

i.e. Counter=Counter+2

 

In this example the numeric variable, Counter, is given a new value of 7.