XenoGuard 4.0 Documentation

ActionScript Write Result

ActionStep Reference » Programming » Script » ActionScript Write Result 

The Write Result ActionStep allows you to add a user-defined parameter to the result list of the current ActionScript. Unlike Define Result, this ActionStep enables the name of the result parameter to be generated dynamically during runtime, effectively allowing it to function as an anonymous parameter.



[-] Hide
  1. Open the Programming node in the Workspace Explorer.
  2. Open the ActionScript node, select the Write Result ActionStep.

Parameters:

The ActionStep 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 ActionScript):

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

See other ActionScript operations:

Start
Wait
Return
Cancel
Write Error
Append Result