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 > Keywords > %list keyword (SDL script)
  
%list keyword (SDL script)
This keyword declares a global list for recording lists of Modeler items.
Use this keyword only in the Generate.sdl template.
* 
After declaring a global list, you can set its content through the %setlist keyword and read its content through the %getlist keyword.
Syntax
%list "<name of list>"
In this example, the code declares a global list named ChildAttributes.
%list "ChildAttributes"