Template:Arraylist:List syntax: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<!-- This page was automatically generated and will be automatically | <!-- This page was automatically generated and will be automatically | ||
replaced, so any manual edits will be lost. You've been warned. --> | replaced, so any manual edits will be lost. You've been warned. --> | ||
<p class="syntax"><span class="term">%newList</span><span class="literal"> =</span> <span class="literal">%(Arraylist Of </span><span class="term">itemType</span><span class="literal">):List</span><span class="literal">(</span> <span class="term" title="List">itemList</span><span class="literal">)</span></p> | <p class="syntax"><span class="term">%newList</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(Arraylist Of </span><span class="term">itemType</span><span class="literal">):</span><span class="squareb">]</span><span class="literal">List</span><span class="literal">(</span> <span class="term" title="List">itemList</span><span class="literal">)</span></p> |
Latest revision as of 20:46, 30 November 2011
%newList = [%(Arraylist Of itemType):]List( itemList)