if sample < 0 then sample := -sample;
The typical application of the ABS I/O is to use it as part of larger, more complex mathematical operations.
Common properties and actions
To control the behavior of the ABS I/O, several properties and actions are available. These can be accessed through a popup menu which is shown when the I/O is right clicked in the Object Tree. The properties can also be accessed through its settings window which is shown when the I/O is double clicked in the Object Tree. To open the Object tree, click the Show object tree button.
For more information, see common properties and actions.