summaryrefslogtreecommitdiff
path: root/Lua API.html
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-04-17 12:15:45 +0400
committerAlexander Gavrilov2012-04-17 12:15:45 +0400
commit378a1fb914655569c8dfa4dffcda9acb6f3931bf (patch)
treee4abe98ec6b7c8b437907e691f00049ecefd3f20 /Lua API.html
parent3beb2ebf25b94736a3823c317f603a8fc8bd0f53 (diff)
downloaddfhack-378a1fb914655569c8dfa4dffcda9acb6f3931bf.tar.gz
dfhack-378a1fb914655569c8dfa4dffcda9acb6f3931bf.tar.bz2
dfhack-378a1fb914655569c8dfa4dffcda9acb6f3931bf.tar.xz
Support the '#' string as index for wrapper vector insert at end.
Diffstat (limited to 'Lua API.html')
-rw-r--r--Lua API.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lua API.html b/Lua API.html
index d5d849d9..cbf35f0e 100644
--- a/Lua API.html
+++ b/Lua API.html
@@ -516,7 +516,7 @@ possible.</p>
</li>
<li><p class="first"><tt class="docutils literal">ref:insert(index,item)</tt></p>
<p>Inserts a new item at the specified index. To add at the end,
-use <tt class="docutils literal">#ref</tt> as index.</p>
+use <tt class="docutils literal">#ref</tt>, or just <tt class="docutils literal">'#'</tt> as index.</p>
</li>
<li><p class="first"><tt class="docutils literal">ref:erase(index)</tt></p>
<p>Removes the element at the given valid index.</p>