Macro Scheduler 15

# Sub

Sub>Value,Number

Subtracts a number from a value. Deprecated by Let for numeric calculations.

Interpreted as Value = Value - Number

Value must be a variable containing 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 subtract the number of days, represented in Number from the given date value.

Example

Let>Counter=5

Sub>Counter,2

i.e. Counter=Counter-2

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

Let>Counter=Counter-1

Will now do the same thing.