Introduction to Functions

In computer programming, a function is essentially a predefined formula which automatically generates various kinds of output. Its main purpose is to accept certain input from the user and return a value which is passed on to the main program to finish the execution. Most programming languages such as VBScript come with a pre-written, built-in range of functions that perform various procedures or routines.

AutoMate encompasses a VBA-compatible engine designed to extend the functionality available in AML (AutoMate Markup Language), the primary internal language used by AutoMate. Not only does this allow multi-line BASIC scripts to be included in a task (with the use of the BASIC Script action), it allows all built-in, pre-defined Visual Basic functions to be used as an expression in any step of a task as well.

When using the Expression Builder, help regarding each function can be accessed by first selecting the Functions folder from the lower left pane, then selecting the desired function from the lower right pane and pressing the F1 key or by right-clicking the function and selecting Help from the popup menu that appears.

Furthermore, AutoMate also includes a large collection of additional functions that extend the functionality of the AutoMate Scripting Engine beyond the capabilities of what the basic VBA-compatible engine provides. These functions are collectively referred to as AutoMate Extended Functions.

See Also:

Using Functions

Introduction to AutoMate Scripting

Introduction to Extended Functions

The BASIC Language Grouped by Type

More on Operators

Order of Precedence