Syntax


AUTONUM

[ ON | OFF | ? ]


Operands


ON | OFF

The desired AUTONUM status


?

Display the current status of the setting.



Description


If no operand is entered, the command wil 'toggle' the setting between ON and OFF. The resulting setting will be displayed in the confirmation message.


If ON is specified, automatic sequence numbering is enabled so that at SAVE or END time, your file is renumbered in the same way as if a RENUM command had been issued.


If OFF is specified, then automatic sequence numbering at SAVE or END time is disabled.


The value is stored as part of the PROFILE options.


If neither ON nor OFF is specified, AUTONUM will report the current automatic sequence numbering option in effect.


The automatic sequence numbering operation will renumber the entire file.


Implementation Notes


Automatic AUTONUM sequence numbering will be performed only under the following conditions:


    • AUTONUM is ON
    • NUMTYPE must be set to a valid numbering type other than NONE
    • The file's modification status causes a SAVE to be performed.


Created with the Personal Edition of HelpNDoc: Maximize Your Productivity with HelpNDoc's Efficient User Interface