Counts the number of changes since the last autosave.
Scope: File
Syntax
query autochanges
set autochanges [Number]
Option
Number |
Number of changes between autosaves. The
default is zero. |
Description
The autochanges parameter gives a count of changes since the last autosave. The query autochanges command lists the number of changes made to the file since the last save or autosave (or since the file was loaded, if no previous save or autosave was made).
The autochanges parameter can be set explicitly to either a higher count to force an autosave or to a lower count to postpone an autosave.
An autosave is made when the value of autochanges equals or exceeds the value set by the autocount parameter or when the time elapsed since the last autosave equals the value set by the autotime parameter.
Examples
set autochanges 10
After five changes, autochanges is increased to 15, equal to autocount, thus forcing an autosave.
query autochanges
API Return Code
-2 |
The number specified was not a positive integer. Issue the command again using a valid positive number. |
![]()
autocount Parameter
autotime Parameter
changes Parameter
idletime Parameter
