XML Script logo
Use of equals signs
Code
# $.foo == "2" # Because it aint true
# $.foo := "2" # Assigns #$.foo# to $.foo
# $.foo = "2" # Will generate error and treat as double equals
Output
0 Because it aint true
 Assigns 2 to $.foo
1 Will generate error and treat as double equals
Ref

x.802

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