Synopsis
PDX_MSGT mda_FreeModel(long option, int model)
Purpose
Free a model for re-use.
Description
The specified model is released. Any changes made since the last model save will be lost. If the model being freed is the current model, the current model will be set to MDA_NULL_MODEL (i.e. the same state as before any models are allocated). In this case a call to mda_SetCurModel must be made before database operations which act on the current model can be performed.
Input
option
Options (not used)
model
Model to be freed
Return
MDA error code