Skip to content

SET_MODIFIED ​

SET_MODIFIED marks a model as modified (or unmodified).

Syntax ​

leo-grammar
SetModelModified :	SET_MODIFIED [ id ] [ modified:intValue ] .
SetModelModified :	SET_MODIFIED [ id ] [ modified:intValue ] .

Parameters ​

  • id(modifier) -
  • modified (intValue) -

Returns ​

none

Details ​

If the user tries to close a modified model he is asked if he wants to save the changes.
The ID of the model that shall be set as modified is passed via the nameless parameter. If no model ID is specified, the currently active model window is used.
If modified is specified with value 0, the model is marked as not modified. In any other case (not specified, or specified with non-zero value) the model is marked as modified.

See Also ​

Examples ​

Versions and Changes ​

Available since ADOxx 1.3