Free space allocated for multiple sets.
FreeSet() should be called when it is desired to free the space allocated by AllocateSet() for multiple, simultaneous sets.
Ordinarily, the only time it is necessary to call FreeSet() is when you desire to increase the number of simultaneous sets from a previous optional call to AllocateSet(). In this case, you call FreeSet() to free the buffers and then AllocateSet() with the new upper limit on sets.
CloseISAM() frees all set buffers if they have not already been freed via FreeSet().
FreeSet() should always returns NO_ERROR (0) value. Even if FreeSet() is called when no buffers are allocated, it will simply return a zero without attempting to free any space. See FairCom DB Error Codes for a complete listing of valid FairCom DB error values.
if (AllocateSet(5) == 0)
printf("\nRoom for 5 sets\n");
if (AllocateSet(10) == 0)
printf("\nRoom for 10 sets\n");