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