XML Script logo
_OP_DIV, _OP_MULTIPLY_EQUALS, _OP_PWR_EQUALS - usage of
Usage

OP_DIV is integer division, OP_DIVIDE is real division (see Multiply and divide) Dividing by 0 returns 0 and produces a interpolation warning.

_OP_MULTIPLY_EQUALS takes a pointer to an item as its first parameter. If this item is text, the value is taken to be 0. Also this function may, under certain circumstances, assign -0 (rather than 0) to the first parameter.

_OP_PWR_EQUALS takes a pointer to an item as its first parameter, whose value is raised by the power of the second parameter.(N.B. Raising any number to the power of 0 is always 1)

Examples

Example of _OP_DIV

Example of _OP_MULTIPLY_EQUALS

Example of _OP_PWR_EQUALS

Version

1.1

Ref

t.68

Date

23 December 1999

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