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 > %locallist keyword (SDL script)
  
%locallist keyword (SDL script)
This keyword declares a local list for recording lists of Modeler items. A local list can exist only in the context of the generation template for which the list is declared.
* 
After declaring a local list, you can set its content through the %setlocallist keyword and read its content through the %getlocallist keyword.
Syntax
%locallist "<name of list>"
In this example, the code declares a local list named ChildAttributes.
%locallist"ChildAttributes"