on.save

From Inspired-Lua Wiki
Jump to navigation Jump to search

on.save is an event.

This routine is called when the script app is saved to the document or copied to the clipboard.
The script should return a table of whatever data it needs to properly restore when the on.restore event handler is called.

This has been introduced in TI-Nspire OS 3.0 (Changes).