7.34. WriteConsole

write_console ‐ An action for writing a string to the console

7.34.1. Attributes

NameTypeDefaults
valueSTRINGNone (required)

7.34.2. Description

This action is used to write a string to the console. The string value of the value attribute defines the string that will be written in the file. If the string contains parenthesized expressions, they are dynamically evaluated as numerical expressions and their values replace the expressions in the string.

7.34.3. Expected children

None.

7.34.4. Expected target

None.

7.34.5. Example

The example below defines an action that writes to the console Random choice X in which X is a random integer value between 1 and 5

<write_console value="Random choice (floor(rand(1,5.99)))" />