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. For more information, see common properties and actions.