Procedures Overview

A procedure is a set of instructions that works as a unit and can be called from a test or another procedure. A procedure contains a name and description, parameters and variables, programming code, and a return value.

Overall ATEasy provides the following five types of procedures:

 

Type of Procedure

Description

Resides in

See Also

User-Defined Procedures

Created by you. You can change the parameters, local variables, and code.

Program, System, Driver, Forms

About User-Defined Procedures

Module Events

Called when special events occur. You can change only the code and local variables. Parameters are fixed.

Modules (Program, System, Driver) and Submodule (Forms, Controls, and Menus)

Module Events

Dynamic Link Library (DLL) Procedures

Defined by you to describe a procedure and parameters that reside in an external library.

DLL Library

Using Dynamic Link Libraries

I/O Tables

Used to send, receive, and control external devices. You define the name and operations, such as send or receive. The parameters are implied from the operation.

Driver I/O Tables Submodule

IO Tables

COM Methods/Procedure

Is part of a COM Library in a COM class. The COM method has predefined properties. The procedure or methods definition is imported from a type library.

External Type Library

Classes, Properties, Methods, and Events

For more information on how to use procedures, see the following topics:

 

Procedure Parameters

Calling Procedures

Returning Values in Procedure Code

Declaring the Return Type

How ATEasy Searches for Procedures

Compatible Argument Types