Back Previous Next


Linguist basic package - table

Syntax:

   table {name} {elements}

Keyword handler:

   net.eclecity.linguist.basic.keyword.BasicKTable.class

Runtime handler(s):

   net.eclecity.linguist.basic.handler.BasicHTable.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 table.

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

Example(s):

   table MyData
   table ArrayData 10


Back Previous Next