Data Tables

Top  Previous  Next

A Data Table may contain zero or more records (lines) and zero or more fields (columns), and thus (records * columns) cells filled with data. The records (lines) for a given table are described by a Table Format. All records in a Data Table are always of the same format. The Table Format describes every field in the table and contains several other options.

ls_internals_data_tables

Even the most simple variables, containing just a single string or number, are represented by a Data Table with just one record and one field. This may seem strange at first glance, but the concept of Data Tables significantly simplifies complex operations.

Uses of Data Tables

Data Tables are widely used in AggreGate. They have three primary uses:

Variable values. The value of each variable in every AggreGate Server context is represented by a Data Table. Its format is specified by a variable definition.
Function input and output values. Input and output values for each function in every AggreGate Server context is represented by a Data Table. Its format is specified by function definition.
Event data. Every AggreGate Server context event has a separate Data Table associated with it. This Data Table contains event-specific data. Its format is specified by event definition.