Using Write and WriteLine functions

When you test a process in the Process Editor, you can use the Write and WriteLine functions to output values. These values are shown on the Output tab in the pane on the right side. The output contains the process parameters, the process' return value, and some other information. It also shows the output of the Write and WriteLine functions. This example demonstrates the usage of the WriteLine function:

#define EngineVersion 5.0

void OutputDemo(string message)
@Description: "Demonstrates output functions.";
{
    WriteLine("This is a test!");
    WriteLine(true);
    WriteLine(42);
    WriteLine(3.14);
    WriteLine("Message was: " + message);
}

Output as much information as needed to see which values are processed before you publish a process. When you have found and removed the error cases, consider to remove the Write and WriteLine statements, because they are useless in published processes.