|
Removes all data for an identifier with only the type and set definition retained. It is employed using the syntax
$kill item1 item2
Notes:
| • | This command should rarely if ever be used. Rather the option command Clear is better. |
| • | A list of items can follow $Kill and if more than one is present results in multiple items being removed. While the statement example above lists two items one, two or many more can be listed. |
| • | This is carried out during 'compile time', and not when the GAMS program executes. |
| • | Not all data types can be killed - only set, parameter, equation and variable types can be reset. |
| • | $Clear has about the same action but the data are treated as if they were zeroed. |
| • | The item in $kill can be redefined. |
| • | More on this appears here. |
|