XML Script logo
Equals sign
Usage

The double equals sign is used for equality testing and colon equals is used for assignment. To avoid confusion, the single equals sign has no meaning. If used, it will generate an error message and be evaluated as though it were double equals. The double equals comparison operator (and indeed all the other comparison, arithmetic and assignment operators) require spaces around them to work properly: "4 == 5" is correct, "4==5" is not.

Examples

Use of equals signs

Use of equals signs

Version

1.0

Ref

t.8

Date

16 June 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