Scripting in StreamServe > StreamServe scripting language specifics

StreamServe scripting language specifics
The StreamServe scripting language includes the following:
Statements (if, while, switch)
Script example
$copiesLeftToPrint = &copies;
Clear($copytext);
while (Num($copiesLeftToPrint) >= 0)
{
if(Num($copiesLeftToPrint) != Num(&copies)) {
$copytext = "COPY";
}
CallProc("procInvoice");
$copiesLeftToPrint--;
}
In this section
OpenText StreamServe 5.6 Updated: 2013-03-01