.. highlightlang:: us .. _obj_count: obj_count ========= .. index:: obj_count .. us.tag obj_count NOTREADYGERMAN New410 obj :ref:`obj_count` liefert die Anzahl an Variablen in einem Objekt. .. function:: n = obj_count(obj) .. us.return **Returnwert** *n* ist die Anzahl an Variablen in der Objekt. .. us.params **Parameter** .. uparam:: obj *obj* ist ein mit :ref:`obj_create` erzeugtes Objekt. .. us.comment **Kommentar** Die alternative Syntax zu ``n = obj_count(obj)`` ist ``n = obj.count()``. .. us.example **Beispiel** :: obj = obj_create() obj.a = 123 obj.b = 456 print obj.count() // druckt 2 .. seealso:: :ref:`uberblick-uniscript-objekte`, :ref:`obj_count_str`, :ref:`obj_count_num` :sub:`id-448455`