Syntax:
reset {hashtable}
Keyword handler:
net.eclecity.linguist.basic.keyword.BasicKReset.class
Runtime handler(s):
net.eclecity.linguist.basic.handler.BasicHReset.class
Function:
Reset a hashtable. This affects an internal variable; when data is next accessed from the table without specifying a key the item will be the next one stored in the table. Note that the items are probably not returned in the order they were placed in the table. This feature can be used to access every key in the table, as follows:
reset MyData while MyData has more data begin put next MyData into MyBuffer ! takes the next element write MyBuffer and return to MyFile end stop
The element returned at each step is a key, so you can look up the corresponding data item.
Example(s):
reset MyData