if (expression)
{
statement1;
[statement2;]
...
[statementN;]
}
else
{
statementN+1;
[statementN+2;]
...
[statementN+N;]
}
Example 24 if($countryCode = "USA")
{
$overlay = "invoiceUSA.lxf";
}
else
{
$overlay = "invoiceDefault.lxf";
}
OpenText StreamServe 5.6 | Updated: 2013-03-01 |