Classes
- Updated2025-10-31
- 1 minute(s) read
A class corresponds to a self-defined complex data type.
Introduced in PAtools 7.1
This data type can contain different data types and define functions that operate on that data. Thus, data and functions of a thematic area can be bundled in one class. This results in a more comprehensible structure of the application. In the program, you can create arbitrary instances (objects) of a class.
Classes have the following structure:
class Class name
// Definition of variables
// Definition of functions
endclass
Note Avoid defining variables and functions
alternately.
Related Information
- Data Types
Learn about data types in PAscript.