The Table object is a dynamically generated list object comprised of a set of rows, where each row is a set of columns that can be any type of standard, non-composite FreeBasic data type. Each column, or cell, in the Table is a TCell object that exposes a set of methods to set and retrieve the cell's data. Since the number of columns in a row is dynamically generated, each row can have a different number of columns and operates like a ragged array.
The TCell object supports the following FreeBasic data types:
- BYTE
- UBYTE
- SHORT
- USHORT
- INTEGER
- UINTEGER
- LONG
- ULONG
- LONGINT
- ULONGINT
- SINGLE
- DOUBLE
- STRING
The Table object is useful for storing data in columnar format such as you might find in a database table, listview control or spreadsheet. However, since there is no requirement for the table to be square, it can also be used to store collections, used to replicate the functionality of an associated array or MS dictionary object, or as a storage object for associated data that may be of different formats.
v0.1 is available
here. You should use -exx when compiling until you are confident that the object is working properly.