mcTBcreate — Create relational table
#include <memcom.h> mcRTable* mcTBcreate(mcSize size);
mcTBcreate
creates a relational table in
memory (not on the database, to create a relational table on the
database make use of mcDBresSet
or
mcDBresSuperset
).
If completed successfully, the function returns a pointer to
the new table in memory (not on the database). Otherwise,
NULL
is returned and the error code can be
retrieved by the function mcErrStatus
. To free
the table from memory make use of mcTBfree
.
Note that the minimum table size is 4 bytes.