Back Previous Next


Linguist basic package - hashtable

Syntax:

   hashtable {name} {elements}

Keyword handler:

   net.eclecity.linguist.basic.keyword.BasicKHashtable.class

Runtime handler(s):

   net.eclecity.linguist.basic.handler.BasicHHashtable.class

Function:

Declares a hashtable variable or an array of hashtables. The array size is fixed at time of compilation. A table can store any amount of string or numeric data and is a useful alternative to declaring large arrays that may only be partially filled. It takes longer to access items in a hashtable.

See also put, load, save, reset and item <key> of in String Values.

Example(s):

   hashtable MyData
   hashtable ArrayData 10


Back Previous Next