Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.2 - Français

Change language to:
English - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Aide de Scilab >> Historique des commandes > saveafterncommands

saveafterncommands

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

Syntax

saveafterncommands(n)
v = saveafterncommands()

Arguments

n

an 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 do not want to risk losing entries to the saved history because of an abnormal termination, such as a power failure.

saveafterncommands() returns current value.

default value is 0. History file saved at the end of scilab session.

Examples

saveafterncommands(3)
Report an issue
<< resethistory Historique des commandes saveconsecutivecommands >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Feb 14 15:00:00 CET 2019