exec

Purpose The exec statement is used to execute Superx++ statements embedded in it or found in a file.
Format exec({file path});
{file path} the path or URL of the file whose contents are Superx++ statements to be executed.
Example #1 Assume the file found in C:\MyDir\MyFile.xpp contains the following Superx++ statements:
<xout>\r\nHello World!</xout>
<xout>\r\nBye bye World!</xout>

Then the following code:
exec("C:\\MyDir\\MyFile.xpp");

will write the following text to the output stream:
Hello World!
Bye bye World!

The same thing applies to data received via an URL instead of a file path.