XenoGuard Documentation

Write Result

Actions » Programming » Action Script » Write Result 

The action Write Result adds a user-defined parameter to the result list of the parent action script. In contrast to Define Result, the name of the result parameter can also be generated during runtime - as an anonymous parameter, so to speak.



[-] Hide
  1. Open the Programming node in the Workspace Explorer.
  2. Open the Action Script node, select the Write Result action.

Parameters:

The action has the following input parameters:


name Description
Name
The branch of the Target List defines the name of the customized parameter.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Result]
Value
The branch of the Target List defines the value of the customized parameter.

Allowed Context Scopes
 [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Result]

Example 1 (Display a custom parameter in a parent action script):

This example generates a customized parameter from a child action script (CalcAddition.xen) with the name Rounded Value and value from the Round action. The Name and Value is then output via Result List of the parent action script with the filename Write Result.xen.


See other action script operations:

Start
Wait
Return
Cancel
Write Error
Append Result