<html><head><title>Map</title></head><body bgcolor="#FFFFFF" link="#207BC3" vlink="#003B83" alink="#003B83"><font face="Arial" size="2"><p align="center"><b><font size="4">SpiderBasic - Map</font></b></p><p><b>Overview</b></p><blockquote>Maps (also known as hashtable or dictionary) are structures for storing data which are dynamically allocateddepending of your need. It is a collection of elements (the data you want to store)and each element is fully independent of the others. You can add as many elementsas you want (or as many as will fit into the memory of your computer), and accessingit back using a key. This kind of data management is very useful when you need fastaccess to a random element. The inserting order of the elements are not kept when usinga map (unlike a <a href="../list/index.html">List</a>) and therefore they can't be sorted.<br><br>Before you can work with Maps, you must declare them first. This could bedone with the keyword <a href="../reference/newmap.html">NewMap</a>. <a href="../reference/structures.html">structures</a> are alsooften used to store multiple data in a single element.<br><br>To specifically search the contents of a Map, using of loops is recommended:<a href="../reference/for_next.html">For : Next</a>, <a href="../reference/foreach_next.html">ForEach : Next</a>,<a href="../reference/repeat_until.html">Repeat : Until</a> or <a href="../reference/while_wend.html">While : Wend</a>.<br><br>Other possibilities for storing data are the use of <a href="../array/index.html">Arrays</a>and <a href="../list/index.html">Lists</a>".</blockquote><p><b>Command Index</b><blockquote><a href="addmapelement.html">AddMapElement</a><br><a href="clearmap.html">ClearMap</a><br><a href="copymap.html">CopyMap</a><br><a href="deletemapelement.html">DeleteMapElement</a><br><a href="findmapelement.html">FindMapElement</a><br><a href="freemap.html">FreeMap</a><br><a href="mapkey.html">MapKey</a><br><a href="mapsize.html">MapSize</a><br><a href="nextmapelement.html">NextMapElement</a><br><a href="popmapposition.html">PopMapPosition</a><br><a href="pushmapposition.html">PushMapPosition</a><br><a href="resetmap.html">ResetMap</a><br></blockquote></p><p><b>Example</b></p><blockquote><a href="../Examples/Map.sb.html">Map.sb</a></Blockquote><center><a href="../index.html">Reference Manual - Index</a></center><br><br></body></html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。