Template:UnicodeNamedArraylist: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">uniNal</span><span class="literal">:Item</span><span class="literal">(</span> <span class="term" title="Unicode">unicode</span><span class="literal">)</span> | <p class="syntax"><span class="term">%currentItem</span><span class="literal"> =</span> <span class="term">uniNal</span><span class="literal">:Item</span><span class="literal">(</span> <span class="term" title="Unicode">unicode</span><span class="literal">)</span> | ||
<span class="term">uniNal</span><span class="literal">:Item</span><span class="literal">(</span> <span class="term" title="Unicode">unicode</span><span class="literal">)</span> <span class="literal">= </span><span class="term">newItem</span></p> | <span class="term">uniNal</span><span class="literal">:Item</span><span class="literal">(</span> <span class="term" title="Unicode">unicode</span><span class="literal">)</span> <span class="literal">= </span><span class="term">newItem</span> | ||
Throws [[ItemNotPresent class|ItemNotPresent]]</p> |
Latest revision as of 15:57, 8 December 2012
%currentItem = uniNal:Item( unicode) uniNal:Item( unicode) = newItem Throws ItemNotPresent