Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
language:types2:data [2025/11/20 15:27] – [Pure structures] rajitlanguage:types2:data [2026/08/07 11:19] (current) – [User-defined data types] rajit
Line 1: Line 1:
 ====== User-defined data types ====== ====== User-defined data types ======
  
-A user-defined data type is defined using ''deftype''. These are classified into three categories:+A user-defined data type is defined using ''deftype''. These are classified into two categories:
    * //data types//, which correspond to representations of the built-in ''int'' and ''bool'' types.    * //data types//, which correspond to representations of the built-in ''int'' and ''bool'' types.
    * //structures//, which are a collection of data types.    * //structures//, which are a collection of data types.
-   * //parameter structures//, which are a collection of parameter types. 
  
-In addition, data types can also be   //enumerations//, which are data types with symbolic  values.+data type can also be defined to be an //enumeration// using **defenum**; enumerations are data types with symbolic  values. In addition, ACT supports //parameter structures//, which are a collection of parameter types, which are defined using **defptype**
  
 ===== Data types ===== ===== Data types =====