7.4

Table Of Contents
for(&i, 1, 1, &numberOfItems)
&currentItemDescription := xmlget('-
/MyData/CUSTOMER/INVOICES/INVOICE/ITEM['+inttostr(&i)+']/Description')
show(&currentItemDescription)
crlf()
endfor()
XOr (Boolean operator function)
Returns true if only one of two specified expressions is true, false otherwise.
Syntax
xor( expression1, expression2 ) ' boolean value
expression1 xor expression2 boolean value
Arguments
expression1, expression2
Boolean values.
Code Sample Examples
These examples illustrate the possible values for XOR.
Example 1
xor(true, false) %Returns true
Example 2
xor(false, true) %Returns true
Example 3
xor(false, false) %Returns false
Example 4
xor(true, true) %Returns false
Language Reference (by element type)
This section contains a reference to PlanetPress Talk organized in by element type.
©2010 Objectif Lune Inc - 375 -