Template:NamedArraylist:Item syntax: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
(3 intermediate revisions by the same 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">% | <p class="syntax"><span class="term">%currentItem</span><span class="literal"> =</span> <span class="term">nal</span><span class="literal">:Item</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="literal">)</span> | ||
<span class="term">nal</span><span class="literal">:Item</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="literal">)</span> <span class="literal">=</span><span class="term"> | <span class="term">nal</span><span class="literal">:Item</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="literal">)</span> <span class="literal">= </span><span class="term">newItem</span> | ||
Throws [[ItemNotPresent class|ItemNotPresent]]</p> |
Latest revision as of 15:58, 8 December 2012
%currentItem = nal:Item( string) nal:Item( string) = newItem Throws ItemNotPresent