Removes any changes to the model's specification made by the most recent invocation of the fliptype procedure.
Syntax
model_name.undoflip
If the model was previously altered by an invocation of the fliptype procedure, then the model's specification is reverted to its prior/unaltered state. Other model changes that may have been made in the intervening time, such as changes to its scenarios, are not affected by this procedure. This procedure provides only one level of undo (multiple invocations of fliptype cannot be undone) and the undo capability is only available until the workfile is closed (saving and reopening a workfile will not allow alterations from a previous session to be undone).
Examples
mod1.fliptype var1 var2
mod1.solve
mod1.undoflip
The endogenous/exogenous usage of variables VAR1 and VAR2 is flipped and the model then solved for the new set of endogenous variables. The changes made by fliptype are then undone, restoring the original endogenous/exogenous usage of variables VAR1 and VAR2.
Cross-references