XML Script logo
Addition and subtraction
Code
123456
#123456#
------
123456 + 123456 = #123456 + 123456#
------
123456  +  123456 = #123456  +  123456#
------
 123456 + 123456 = # 123456 + 123456 # (note spaces before and after number)
------
123456 - 123456 = # 123456 - 123456 #
Output
123456
123456
------
123456 + 123456 = 246912
------
123456  +  123456 = 246912
------
 123456 + 123456 = 246912 (note spaces before and after number)
------
123456 - 123456 = 0
Ref

x.2601

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