| VMMC References |
| |
| About |
| Sub About () |
| Shows about box. | |
| |
| Add |
| Sub Add ([Index As Long = -1], [Key]) |
| Adds new row. Index is zero based. Appends new row is Index = -1. Key can be string or integer. | |
| |
| Cell |
| Property Cell ([Row As Long = -1], [Key], Col As Long) |
| Read/write cell's value. | |
| |
| Clear |
| Sub Clear ([Index As Long = -1], [Key]) |
| Removes all items from collection. | |
| |
| Cols |
| Property Cols As Long |
Returns/sets number of columns. Number of columns can be changeg only if collection is empty. | |
| |
| ColType |
| Property ColType (Col As Long) As eVarType |
| Returns/sets data type for the column. Data type can be changed only if array is empty. | |
| |
| Count |
| Property Count As Long |
| Returns/sets number of rows. | |
| |
| HasKey |
| Function HasKey (Key) As Boolean |
| Returns true if key exists in collection. | |
| |
| Key |
| Property Key (Index As Long) |
| Returns key for given index. | |
| |
| Load |
| Sub Load (FileName As String) |
| Loads data and structure from file. Data already in array is deleted. | |
| |
| Remove |
| Sub Remove ([Index As Long = -1], [Key]) |
| Removes the row. Index is zero based. | |
| |
| Save |
| Sub Save (FileName As String) |
| Saves data and structure in the file. If file already exists it is overwriten. | |
| |