WorldDocumentDirty ( document )
Parameters
| document - world document handle |
Description
|
Returns True while a world document has unsaved edits. The flag becomes True after a successful edit and False after create, load, or successful save. For the full story, see the Debug World Editor guide. Requires Extended mode. See also: SaveWorldDocument, ApplyWorldDocumentEdit. |
Example
; WorldDocumentDirty Example - Extended mode document=CreateWorldDocument("dirty-example","Dirty Example") If document=0 Then RuntimeError WorldDocumentError() Print "Dirty after create: "+WorldDocumentDirty(document) FreeWorldDocument document End
Index