Name

saveafterncommands — Save the history file after n statements are added to the file.

Calling Sequence

saveafterncommands(n)
v = saveafterncommands()

Parameters

n

a integer, n statements

v

current value

Description

Save the history file after n statements are added to the file.

For example, when you select the option and set n to 5, after every 5 statements are added, the history file is automatically saved.

Use this option if you don't want to risk losing entries to the saved history because of an abnormal termination, such as a power failure.

saveafterncommands() returns current value.

0 is default value.

Examples

 
saveafterncommands(3)
 

Authors

A.C