Creating User-Defined Data Types

ATEasy allows you to create three user-defined data types: Structure (Struct), Enumerated Type (Enum), and Typedef.

To create user-defined data types:

1.      Select the Types submodule under either the Program, System, or Driver module or under DLL Library. This presents a list of Types in the Types view.

2.      Right-click on the Types submodule and select Insert Object Below from the context menu.

3.      To define the data type name and other properties, select the newly created object, right-click and select Properties, or alternatively select the Properties icon from the top menu bar.

4.      Select Struct, Enum, or any of the other listed types for a Typedef depending on the kind of data type you are creating.

  1. For Structure, select Struct. Right-click and select Insert Object Below to insert a property field. Modify the property field in the Properties window. See Creating Structures for more information.

  2. For Enumerated Type, select Enum. Right-click and select Insert Object Below to insert a property field. Modify the property field in the Properties window. See Creating Enumerated Types for more information.

  3. For Typedef, select any of the other listed types. See Creating Typedefs for more information.

Depending on the kind of data type you are creating, read the following sections for information on additional tasks: Overview of Typedefs, About Structures, and About Enumerated Type.

After you create a user-defined data type, you can use it as explained in Using Enumerated Types and Using Structures.