world.SetChanged
Sets or clears the "document has changed" flag
Prototype
void SetChanged(BOOL ChangedFlag);
Description
Use this function to set or clear the "world has changed" flag. If this flag is set, you will be asked to save it. If clear, you will not be asked to save it.
VBscript example
SetChanged vbTrue
Jscript example
SetChanged (true)
Lua example
SetChanged (true)
Lua notes
The argument is optional, and defaults to true.
Return value
Nothing.