Template:FloatNamedArraylist:Item syntax: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 2: | Line 2: | ||
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">%currentItem</span><span class="literal"> =</span> <span class="term">fltNal</span><span class="literal">:Item</span><span class="literal">(</span> <span class="term" title="Number">number</span><span class="literal">)</span> | <p class="syntax"><span class="term">%currentItem</span><span class="literal"> =</span> <span class="term">fltNal</span><span class="literal">:Item</span><span class="literal">(</span> <span class="term" title="Number">number</span><span class="literal">)</span> | ||
<span class="term">fltNal</span><span class="literal">:Item</span><span class="literal">(</span> <span class="term" title="Number">number</span><span class="literal">)</span> <span class="literal">= </span><span class="term">newItem</span></p> | <span class="term">fltNal</span><span class="literal">:Item</span><span class="literal">(</span> <span class="term" title="Number">number</span><span class="literal">)</span> <span class="literal">= </span><span class="term">newItem</span> | ||
Throws [[ItemNotPresent class|ItemNotPresent]]</p> |
Revision as of 15:57, 8 December 2012
%currentItem = fltNal:Item( number) fltNal:Item( number) = newItem Throws ItemNotPresent