XML Script logo
_OP_MOD, _OP_MOD_EQUALS, _OP_PLUS_EQUALS, _OP_MINUS_EQUALS and _OP_DIVIDE_EQUALS
Usage

The mod operator returns the remainder of dividing operand1 by operand2. The numbers are converted to floating point before the divsion is performed. The mod equals operator finds the modulus of an item when divided by a value and assigns the result to the item parameter.

OP_PLUS_EQUALS, _OP_DIVIDE_EQUALS and _OP_MINUS_EQUALS all act on the value of an item and asign the result to the item.

Examples

_OP_MOD - Example of use

_OP_MOD_EQUALS - Example of use

_OP_PLUS_EQUALS - Example of use

_OP_MINUS_EQUALS - Example of use

_OP_DIVIDE_EQUALS - Example of use

Version

1.1

Ref

t.76

Date

17 February 2000

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited