Returns true if x is true or y is true.
Examples
Integer s=4,d=8;
Integer f=6;
if ( f>s || f>d )
{
return "abc";
}
if ((@"Annual Sales" > 50000) ||(@"Annual Sales"<0)) then
"Customer needs attention"
else
"Normal customer"
Returns true if x is true and y is true.
Examples
Integer s=4,d=8;
Integer f=6;
if ( f>s && f<d )
{
return "abc";
}
if ((@"Annual Sales" <3000) && (@Customers_Country=="USA")) then
"Customer is in the USA and Annual Sales is less than 3000"
else
"Others"
Returns true if x is false.
Example
The return value of the following statement is def.
Integer s=4, d=8;
Integer f=6;
if ( ! ( f>s ) )
return "abc"
else
return "def"