OutputDocument.SetTemporary

Prototypes

void SetTemporary( <boolean bTemp> )

Parameters

boolean bTemp
If bTemp is true, the LISTING output document is configured as a temporary LISTING output document. If bTemp is false, the LISTING output document is configured not to be a temporary LISTING output document. Calling this method without a parameter is equivalent to calling it with bTemp equal to true.

Remarks

This method controls whether the LISTING output document is configured as a temporary LISTING output document. When you rerun a program, IMLPlus automatically closes any temporary LISTING output documents created by the previous run. LISTING output documents created by the method OutputDocument.Create are initially configured as temporary LISTING output documents. LISTING output documents potentially created by the method OutputDocument.GetDefault are not configured as temporary LISTING output documents.

Example
print "Rerun this program repeatedly to see that the"/;
print "LISTING output document is recreated for each run.";

OutputDocument.GetDefault().SetTemporary();