- 13 Dec 2023
- 1 Minute to read
- DarkLight
Execute Code
- Updated on 13 Dec 2023
- 1 Minute to read
- DarkLight
General
This type of action can be used to execute code (e.g. a method contained in a Global Module or a Module of a Report).
Properties
This type of action has the following properties:
Name | Description |
---|---|
Code | An Expression that contains the code to be executed. |
Example
Suppose you have created a Global Module that contains a function named WriteDebugFile; that function takes a single string parameter and writes that string to a file in the file system. The following Expression can be used to call that function to write the string Hello World to a file:
WriteDebugFile("Hello World")