﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="thpdoc.xsl"?>
<page id="__list" suffix=" Keyword">
  <subsection>Explicitly declares a <a href="lists.xml">list</a>.<code>__list();
__list(el1);
__list(el1, el2, ..., elN);</code></subsection>
  <section name="Remarks">
	<p>Note that in most of the cases you don't need to use the <kw>__list</kw> keyword. See <link>lists</link> page for more details.</p>
	<p>When building lists of signals or ports wrap the signal/port names with the <kw>__decl</kw> keyword.</p>
  </section>
  <examples>
	<example><code>const any numbers = __list(1, 2, 3, 4, 5);</code>
	</example>
  </examples>
<seealso id="lists"/>
<seealso id="const"/>
<seealso id="__decl"/>
</page>