---
title: "object (Opus)"
---
## Beschreibung

Das object-Statement beschreibt eine benutzerdefinierte Klasse. Der Code innerhalb der geschweiften Klammern kann Member und Funktionen der Klasse enthalten.

## Syntax

![ObjectDefinition.png](../../../../attachments/3342722/3365199.png)

## Beispiel

```
object {}; // The base class for all user-defined classes.

object PivotTableStyle(Ai_RowLabel, Ai_ColumnLabel, Ai_RowTotal, Ai_ColumnTotal, Ai_Value, Ai_GrandTotal)
{
i_RowLabel = Ai_RowLabel;
i_ColumnLabel = Ai_ColumnLabel;
i_RowTotal = Ai_RowTotal;
i_ColumnTotal = Ai_ColumnTotal;
i_Value = Ai_Value;
i_GrandTotal = Ai_GrandTotal;
};
```
