Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > SDL script for generating code > SDL script extensions for TDK > %count statement (SDL script)
  
%count statement (SDL script)
This topic applies to TDK SDL script extensions. For more information, see Overview of SDL script extensions for TDK (SDL script).
SDL Script Extensions for TDK:
%list MyList
...
A = %count (MyList)
B = %count (%c->Attribute)
%count returns the cardinality of its argument, which can be of type %object or %list.