About Variables and Procedures

This chapter discusses how to create and use ATEasy variables, data types, and procedures. You will declare two program variables: i and adSamples. The first one will be used as a loop counter, while the second will be defined as an array. It will contain values to be passed to a procedure named Average. You will write this procedure to calculate the average of an array.

You will also learn about ATEasy statements and the internal library. Use the table below to learn more about this chapter's topics.

 

Topic

Description

Variables and Data Types

About the variables and data types supported by ATEasy.

Variables Naming Conventions

Guidelines for naming variables and how to declare a variable.

Declaring a Variable

How to declare a Variable.

Variable Properties

What are Variable Properties and how to set them.

Procedures

What are Procedures.

Creating a Procedure

How to create a Procedure.

Procedure Properties

What are Procedure Properties and how to modify them.

Procedure Parameters and Local Variables

Guidelines to procedures' variables and parameters, how to create them, and how to write procedure code.

Calling the Procedure from a Test

How to use (call) a procedure from an ATEasy program.

Debugging Your Code

About ATEasy debugging tools and how to use them.

More About Writing Code

Additional information regarding writing code.

The Internal Library

What is the internal library and which procedures does it include.