Difference between revisions of "document.markChanged"
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
--]] | --]] | ||
− | document.markChanged() --ask the user to save the document when closing it</source><br | + | document.markChanged() --ask the user to save the document when closing it</source><br> |
[[Category:document]] | [[Category:document]] |
Latest revision as of 11:51, 11 June 2011
document.markChanged is a function that is part of the Document Library.
The function flags the current document as changed. It will ask you to save it when you close it.
This has been introduced in TI-Nspire OS 3.0 (Changes).
Syntax
document.markChanged()
No arguments
Turns the 'changed' flag on.
Example
--[[
Code that modifies the current document
..
..
--]]
document.markChanged() --ask the user to save the document when closing it