Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.0.0 - English


historysize

get number of lines in history

Syntax

nb = historysize()
nbMax = historysize("max")
nbMax = historysize(newMax)

Arguments

nb

number of lines in current history.

nbMax

number of lines maximum in history file.

newMax

set number of lines maximum in history file.

by default this value is 20000 lines max.

Description

get number of lines in history.

This function can also used to set maximum number of lines in history file.

Examples

historysize()
            historysize("max")
Report an issue
<< historymanager History manager loadhistory >>

Copyright (c) 2022-2023 (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:
Tue Oct 24 14:30:10 CEST 2023